-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
podman play kube (and this quadlet) has no support for uid/gid mapping #16594
Comments
Do you envision a global setting for all containers, or do you desire fine-grained control over individual containers? |
Hmm, good question. Is it even possible to have different uid/gid mappings inside a single pod? I mean, |
There is one user namespace. Working with containers in different User Namespaces inside the same pod is not currently supported. You would hit issues with conflicting files ownerships ... Shifting file systems might at some point make this possible, but still dealing with interprocess communication would be broken if root in one container is not root in a different container. Bottom line one user namespace per pod. |
That sounds about right to me. So we could extend the support of e.g. |
|
I would say not, they are just much more painful to use. --userns=auto has options similar to the anyway, except they are in addition to the automatic selection of the rest. So, just steal the current RemapUsers=auto code from the .container support in quadlet. |
When using play kube from a systemd service file (e.g. with quadlet) it seems very useful to be able to set up some particular uid mappings. In particular,
--userns=auto
which podman run supports seem useful.The text was updated successfully, but these errors were encountered: