Replies: 3 comments 4 replies
-
Neither does this work: podman run --mount type=bind,source="$(pwd)",target=/builds,idmap='uids=501-10001-1;gids=20-10001-1' --security-opt label=disable --entrypoint=sh --rm -i |
Beta Was this translation helpful? Give feedback.
-
It seems to work with rootless podman on macOS 14.3 I did a test:
side-note: I created the machine with
and started the machine with
About the system: Output Click me
Update 1I did a test
The next thing I would like to test is the following
|
Beta Was this translation helpful? Give feedback.
-
Maybe
Result: It seems to work. Maybe that approach would work too on macOS with rootful Podman? (I haven't tested) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I want to map uid 501 with primary gid 20 on MacOS (Podman Desktop) to 10001:10001 inside a container (rootful). It doesn't work, I get permission denied faults.
podman run --mount type=bind,source="$(pwd)",target=/builds:z --uidmap 10001:501:1 --gidmap 10001:20:1 --entrypoint=sh --rm -it myimage
Beta Was this translation helpful? Give feedback.
All reactions