Replies: 1 comment 13 replies
-
Is 999 listed as a UID defined in your /etc/subuid and /etc/subgid file? |
Beta Was this translation helpful? Give feedback.
13 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Dear community,
My goal is the following:
Currently testing it out with a single container and not getting it to work. I have a volume mounted with files from 1007 user and 1003 user, where I am comparing the permissions from outside to inside the container.
With userns=keep-id I map myself to 999:999 but in that case I don't have root rights. I want to map another user to 999:999 while being root myself inside container.
I have tried some stuff with --uidmap and --gidmap but I have trouble understanding how to use it correctly.
I tried:
But in that case, all files in the volume are belonging to nouser:nogroup.
Could anybody help me out how to do this? Thanks a lot.
Best,
Reinier
Beta Was this translation helpful? Give feedback.
All reactions