mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-01 11:20:59 +03:00
[Feature Request] PGUID and PUID #222
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
@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.@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.
@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.