-
Notifications
You must be signed in to change notification settings - Fork 202
Description
Container image name
rocker/verse:4.4.2
Container image digest
rocker/verse@sha256:730f1963feee28420bb7417658349d627a7a8fa55e906824093245ac82d56b36
What operating system are you seeing the problem on?
Linux
System information
- Docker version 27.3.1, build ce12230
Bug description
Starting from R:4.4.2, the base Ubuntu images were upgraded from Ubuntu 22.04 to Ubuntu 24.04. I noticed that in this updated image, the user ID 1000 is now assigned to the ubuntu user, while the rstudio user has been assigned ID 1001.
This change has caused some containers in our setup to break. Previously, the default user on our host systems also used ID 1000, which allowed seamless bind mounts. Files written by the rstudio user inside the container would align with the host’s default user ID, simplifying permissions management.
To adapt to this new setup, we would need to enable Docker's User Namespace Remapping feature, which requires making several adjustments on each of our hosts, along with elevated privileges (sudo access).
I’m uncertain if this shift in user IDs was intentional. Should we consider this a permanent change, or would it be adjusted in future releases? Knowing this would help us determine if we should update our configuration scripts accordingly.
Thank you!
How to reproduce this bug?
❯ docker run rocker/verse:4.4.1 id -u rstudio
1000
❯ docker run rocker/verse:4.4.2 id -u rstudio
1001