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
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
-
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