Replies: 3 comments 8 replies
-
You want the UID of the container to match your users UID?
Is that what you want? I was also thinking a nomap 1000 NOT MAPPED to container. |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I recently discovered this tip added to troubleshooting.md about mapping the rootless user's UID to the UID of the user in the container. I find this very useful for containers where the container user does not match my UID (my use case is that I can volume mount a directory into the container and continue to edit the files on the host system for development purposes without chowning them between my UID and the namespace's UID or copying them in again). For cases where my UID does match the container's UID,
--userns=keep-id
fits the role already. I wonder if it would be generally useful enough to make this an alternative tokeep-id
(map-id
?) that is built in to podman.Beta Was this translation helpful? Give feedback.
All reactions