Use same user and group in Docker #4635
Replies: 3 comments 8 replies
-
|
Thank you for reporting this @luisfeser We are currently not specifying the UID:GID enabling debian to assign the first on setup and we were considering this to remain constant in the context of debian but apparently something changed with the trixie release. By any chance did you already look into the topic and do you have suggestions? In the past with @rglauco we evaluated using the number 999 that is is a good candidate, used for example by mongodb and postgres |
Beta Was this translation helpful? Give feedback.
-
|
I actually rechecked on the last releases:
Maybe @luisfeser you were running a very very old release? since every of our images since recent times is using 103, i think we could do the following addition to the Dockerfile: This will offer the following guarantees:
What do you think? \cc @rglauco |
Beta Was this translation helpful? Give feedback.
-
|
Since we are running rootless, what about enforcing 1000? This for sure won't be present in the Debian base image and it is quite standard to give this to the first non root user. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using the docker hub image and an external volume
when updating docker image some times the user and group of the image has changed and container doen't work. I have to chown the volume data with the new values
Can you use the same UID:GID between versions? or add instructions about the use of this docker hub image
Thank you
Beta Was this translation helpful? Give feedback.
All reactions