[Feature Request] PGUID and PUID #222

Closed
opened 2026-02-06 19:27:33 +03:00 by OVERLORD · 3 comments
Owner

Originally created by @ma-karai on GitHub (Jan 7, 2019).

Its quite common to set the user and group uid (std is 1000) which runs the docker container/jellyfin within the docker container with an environmental variable. Please consider introducing them.

Originally created by @ma-karai on GitHub (Jan 7, 2019). Its quite common to set the user and group uid (std is 1000) which runs the docker container/jellyfin within the docker container with an environmental variable. Please consider introducing them.
Author
Owner

@LeoVerto commented on GitHub (Jan 7, 2019):

PUID/PGID has been removed in #226 in favor of Docker's --user-option.

If you're using Docker Compose, adding the line user: "$PUID:$PGID" to the service declaration should function as a drop-in replacement.

@LeoVerto commented on GitHub (Jan 7, 2019): PUID/PGID has been removed in #226 in favor of Docker's `--user`-option. If you're using Docker Compose, adding the line `user: "$PUID:$PGID"` to the service declaration should function as a drop-in replacement.
Author
Owner

@ma-karai commented on GitHub (Jan 7, 2019):

Yes, this is true. However From my limited experience is that when you use the --user option you have to create and chown the folders which you intend to use on the hostmachine beforehand with (e.g. -v /whatever ) , you don't have to do this when utilizing puid or pgid.

@ma-karai commented on GitHub (Jan 7, 2019): Yes, this is true. However From my limited experience is that when you use the --user option you have to create and chown the folders which you intend to use on the hostmachine beforehand with (e.g. -v /whatever ) , you don't have to do this when utilizing puid or pgid.
Author
Owner

@andrewrabert commented on GitHub (Jan 7, 2019):

These environment variables are the implementation details to solving problems. Please clarify the problem you're trying to solve in the title and description then reopen.

@andrewrabert commented on GitHub (Jan 7, 2019): These environment variables are the implementation details to solving problems. Please clarify the problem you're trying to solve in the title and description then reopen.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#222