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
{{ message }}
This repository was archived by the owner on Feb 15, 2026. It is now read-only.
by default container is created and run with uid:gid = 1000:1000 which are shared with the host.
So finally container on the host run with the host user which have the same uid:gid = 1000:1000
I tried to add user: 1001:1001 in my docker-compose file, but I got permission issue because my host user 1001:1001 doesn't have the good right inside the container.
How can I do to run container with a specific user uid:gid and avoid permission issue ?
I guess I have to edit the dockerfile ?
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.
-
Hello,
by default container is created and run with uid:gid = 1000:1000 which are shared with the host.
So finally container on the host run with the host user which have the same uid:gid = 1000:1000
I tried to add user: 1001:1001 in my docker-compose file, but I got permission issue because my host user 1001:1001 doesn't have the good right inside the container.
How can I do to run container with a specific user uid:gid and avoid permission issue ?
I guess I have to edit the dockerfile ?
Thank you
Beta Was this translation helpful? Give feedback.
All reactions