Replies: 1 comment 2 replies
-
Are you referring to troubleshooting tip 10 rootless setup user: invalid argument? If you want to map a very high container UID and GID ( $uid:$gid) to the regular user on the host you can $ uid=1000000
$ gid=1000000
$ podman run --rm --userns=keep-id:uid=$uid,gid=$gid --user $uid:$gid alpine id
uid=1000000(1000000) gid=1000000(1000000) groups=1000000(1000000) |
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, my nested container that I want to be running podman in rootless mode has available only 65536 uid/gid.
So I can't give namespace range 100000-165536 to my user as documentation recommends.
I would rather like to avoid increasing number of uid/gid in my container, is there any workaround?
I tried to put into /etc/subuid and /etc/subgid this:
But it doesn't seem to be working.
Is there any workaround for this problem?
Beta Was this translation helpful? Give feedback.
All reactions