Closed markuswells closed 1 year ago
Hi @markuswells ,
The container cannot change the UID/GID when the volume is read_only
.
FYI, changing UID/GID is a write operation on the filesystem of the container, which read_only
prevents.
Also, the variables are named UID
and GID
. The ones named BUILD_*
are used when building the image, not starting the container.
So:
UID
, GID
environment:
- 'UID=1234'
- 'GID=1234'
I did see the "read_only" in the docs, but did not realize I had it in the compose file. I made those changes and it works fine
The docs say to run docker using
docker run -e UID=123 -e GID=456
but I am using a docker compose file. I need the radicale user inside docker to be UID=1000 and GID=1000, everything else works as expected, but my data is: 2999:2999here is my file: