Once you've exposed ports from the *pod*, that port is exposed from all
containers in that pod; you can't specify --publish on the individual
containers.
On Sat, Oct 26, 2024 at 1:23 AM openbidaaz via Podman <
podman(a)lists.podman.io> wrote:
Hello,
I have setup 3 rootless containers in a pod and now want to expose ports
on two containers to the outside world.
I have tried:
podman pod create \
--name "${ABCPOD}" \
--label "${ABCPOD}" \
--network slirp4netns:port_handler=slirp4netns \
--publish 8080:8080
but now the container exposing port 8080 is failing to get created.
How do I create rootless pods and then expose the networking?
Thank you in advance.
Regards
S
Sent with Proton Mail <
https://proton.me/mail/home> secure email.
_______________________________________________
Podman mailing list -- podman(a)lists.podman.io
To unsubscribe send an email to podman-leave(a)lists.podman.io