-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow for setting of container UID/GID #2483
Comments
Realized this wasn't very informative, was referring to being able to utilize something like linuxserver's PUID & PGID environment variables: https://docs.linuxserver.io/general/understanding-puid-and-pgid Or having the container work with dockers' |
I am facing exactly the same issue when deploying on a Synology NAS (DS918+, running DSM 7.1.1), with docker volume mounted on a share. Container starts, but log is full of permission denied errors
|
This should be fixed with #2495. The changes are live in the |
Many thanks! Changes I did: branch changed to
|
Thank you @vgrassia pulling in that latest image and testing, it appears the container and all applications start and become healthy with permissions correctly allocated, however I am not able to access the UI anymore while I was able to before while running the
|
@rgarcia6520 not sure what is different in my case, but I can access the standard user UI and admin UI without issues on the new DEV build. So this does not seem to be a generic issue. |
@Profex what UID/GID are you setting? Also do you have anything showing up under the NGINX logs in
|
@rgarcia6520 We have also recently added the ability to change ports on the internal NGINX web server. The defaults have been changed from |
Ahh thank you @vgrassia I had missed that and that was my issue! Updated all ports to forward to I believe this issue can be closed now, I have no further items. |
Note that with the latest changes in |
Steps To Reproduce
Deploy docker container on host with volume mounted on share where uid
1000
does not exist.Tested deploying on my unraid server where the default uid/gid for non-privileged containers is
99/100
and container is not able to write to any directories or create any files. If I could overwrite the UID/GID via env var then it would be successful. I don't see existing options in the container or in the documentation to perform this.Expected Result
start up container, container is healthy and runs smoothly.
Actual Result
Permission Denied
errors galore.Screenshots or Videos
No response
Additional Context
Running on an Unraid server/host as a docker container. Have a dozen other containers running happily on the server.
Githash Version
N/A
Environment Details
Database Image
postgres:12
Issue-Link
#2480
Issue Tracking Info
The text was updated successfully, but these errors were encountered: