containers / podman

Podman: A tool for managing OCI containers and pods.

Home Page:https://podman.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

podman-pod-create --network slirp4netns is unsupported for root containers

zem opened this issue · comments

commented

I am not sure why that switch is simply missing, it is supported when you create an unpriviledged pod so why not be able to do slirp4netns as root?

Reasons:

  • I cant access a port from another container that is published on the host, I probably just dont get it yet how to resolve the IP address other pods elegantly out of the box.
  • Published ports on bridged networking do not bind on ipv6 slirp4netns does and translates.

We originally only implemented a small subset of --network for pods (because of the way creating the infra container is handled, parsing needs to be very different for both, and rewriting the complicated parsing for --network was put off to later). This definitely sounds doable, though, it would just need some additions to the existing parsing logic.

A friendly reminder that this issue had no activity for 30 days.

@mheon Any update on this issue?

No. Should be fairly simple to implement, but I've never found time.

Any container that joins the a slirp pod would also has slirp as the network mode, correct?

The containers except the infra container should not be different - the containers, except the infra, will still join the infra container's network namespace.