Closed danepowell closed 3 years ago
custom init and service folders are meant to be owned by root so an unprivileged user (or app) doesn't gain root inside the container
Can this be documented, so people don't expect PUID/PGID to apply to these directories? How can one work around the issue of directories being owned by root on the host machine?
Expected Behavior
When setting a PUID and PGID, these IDs should be applied to all files created in the config folder.
Current Behavior
ddclient.conf has the correct owner, but two other directories are created as root regardless of the PUID/PGID:
Steps to Reproduce
Environment
OS: WSL2 CPU architecture: x86_64 How docker service was installed:
Command used to create docker container (run/create/compose/screenshot)
docker-compose up
Docker logs