Add UID and GID as Environmental Variables #1084
Sn3ider
started this conversation in
Feature Requests
Replies: 1 comment 3 replies
-
I also commented this on the original issue, but I'll do it here as well: @Sn3ider, sorry to bring this issue up again, but weren't you able to use Docker's built-in 'user' directive? We opted to support this mechanism instead of PUID and PGID at some point, as you still have to start the container as root using that approach. With the user directive, the image is fully rootless from the start. The user you specify in this directive has access to the files and folders of the 'node' user, which is why the file ownership doesn't change. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
With other ARR services I can define the UID and GID as variables so I don't have to create a YAML config file and on Synology container manager I can define the UID and GID during the initial setup.
Beta Was this translation helpful? Give feedback.
All reactions