You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I can use
--userns=keep-id:uid=1000,gid=1000
to map the user but not the group.I am using podman
4.6.0
(rootless)I created a directory on my host machine. (
franz
is current user on host machine,staff
is the primary group)Here is the
Dockerfile
. A userfoo
(uid:1000
) and a groupbar
(gid:1000
) are created.Then I started the container with
--userns=keep-id:uid=1000,gid=1000
.However, the group is
nogroup
when I checked the mounted directory.I expect the group is
bar
. Do I misuse---userns=keep-id
?Beta Was this translation helpful? Give feedback.
All reactions