Skip to content
Discussion options

You must be logged in to vote

Podman technically never explicitly drops capabilities, the thing is if you enter a new user namespace you gain all caps but only relative to the new userns. This means that it indirectly drops all the caps for the parent user namespace which means you now are no longer allowed to modify any of the namespaces created by the parent such as the host netns.

The podman user namespace is critical to podman's function as it allows us to mount images as rootless user and much more. Therefore the podman design is to basically allows join the userns right away.

The only way to make it work would be to spawn the rootless networking process from the hosts/init userns and not from the podman userns. …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@mailinglists35
Comment options

Answer selected by mailinglists35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants