Replies: 2 comments
|
The That's also why PUID/PGID looked like they did nothing. The entrypoint does read them, but Drop services:
ganymede:
environment:
- PUID=1000
- PGID=1000Then recreate and check the banner it prints on startup: docker compose up -d --force-recreate ganymede
docker compose logs ganymede | head -20You should see uid 1000 / gid 1000 and no If you were setting |
|
The environment:
- PUID=1000
- PGID=1000
# remove: user: 1000:1000Here's why # Dockerfile
RUN useradd -u 911 -d /data abc && usermod -a -G users abc
...
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]and PUID=${PUID:-911}
PGID=${PGID:-911}
groupmod -o -g "$PGID" abc # needs root
usermod -o -u "$PUID" abc # needs root
...
chown -R abc:abc ${CONFIG_DIR} # needs root
gosu abc fc-cache -f # drops to abcWhen you set Two things worth doing after switching:
|
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Docker Compose
Details
Details
I also tried adding
PUIDandPGIDwith no successAll reactions