Replies: 2 comments 2 replies
-
Does it work if you use these options?
I did a test
About the systemFedora CoreOS 40.20240416.1.1
|
Beta Was this translation helpful? Give feedback.
0 replies
-
I tried this by adding
to the podman pod create and got: I can't use --uidmap and --gidmap on the container, it then complains that those args can't be used together with --pod argument. Replaying what you wrote I got until here:
System: |
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 need some help with mapping a host user's uid/gid with one user in a container.
Setup:
I created a rootfull pod including a container running nginx.
I now want to replace the nginx:latest image with nginxinc/nginx-unpriviliged:latest where the Nginx is then not run as root but as limited user in the container. The user nginx in the container has uid:gid 101:101. The user nginx on the host has 114:117.
How can I map the container's user nginx to the uid:gid of the host's user so that the logfiles show up as owned by user nginx on the host?
Beta Was this translation helpful? Give feedback.
All reactions