Skip to content
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

Add custom UID/GID to the Dockerfile #100

Open
BenjaminPrice opened this issue Jan 13, 2024 · 5 comments
Open

Add custom UID/GID to the Dockerfile #100

BenjaminPrice opened this issue Jan 13, 2024 · 5 comments
Labels
enhancement New feature or request

Comments

@BenjaminPrice
Copy link

Please allow for setting the UID and GID (and umask, ideally) for the docker container via environment variables.

On my linux server as I cannot overwrite the UID/GID (by setting "user: MyUID:MyGID" in the Docker Compose) without the /publish folder breaking all media is stored as root:root.

@C9Glax C9Glax added the enhancement New feature or request label Jan 20, 2024
@C9Glax
Copy link
Owner

C9Glax commented Jan 20, 2024

This has been happening a few times.
For now I can only recommend creating the docker container as your normal user.
E.g. giving the normal user rights to create containers.

@dare2try
Copy link

dare2try commented Mar 6, 2024

I didn't appreciate how hard this actually is until I looked at the linuxserver.io docker files. After a while I called it quits and just built my own image using your current one as a starting point and replacing the UID and GID with my own.
This exercise made me realize that the releases in GitHub don't match what is in master, at least as of 1.5

@derp90
Copy link

derp90 commented Mar 20, 2024

I would also love this feature, any new series that I add has root:root and I need to chown them for other apps to be able to read the directory

@MonkeyDrone
Copy link

Can't wait for this to be implemented!

@Savanta
Copy link

Savanta commented Nov 17, 2024

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

6 participants