docker-plex-media-server
docker-plex-media-server copied to clipboard
Check and update README to allow any UID
Any UID should be allowed and working fine, so people can use --user 123456
or --user $UID
if they so desire.
Update also README to suggest using a random UID in [2000-32000].
I tried using user: "1000" in docker-compose and I got this in the logs,
runuser: may not be used by non-root users runuser: may not be used by non-root users runuser: may not be used by non-root users runuser: may not be used by non-root users runuser: may not be used by non-root users runuser: may not be used by non-root users runuser: may not be used by non-root users runuser: may not be used by non-root users runuser: may not be used by non-root users runuser: may not be used by non-root users runuser: may not be used by non-root users runuser: may not be used by non-root users runuser: may not be used by non-root users runuser: may not be used by non-root users
And it failed to start.
Did you pull the latest version? Which tag?
wernight/plex-media-server:autoupdate
I do have another step that pulls the latest version.
Thanks :)
The "any UID" is only for the non-autoupdate. This is because autoupdate needs to install Plex, so unless I remove any permission on the Linux FS, the user in the contains needs to be root. After that it changes to plex random UID.
If you feel the documentation isn't clear, what would you suggest?
Sorry I'm a bit confused, you say it runs as root and then changes to a random uid... Why can't it run as root and then change to the ID picked through --user $UID?
autoupdate
starts as root
inside the container to install/upgrade plex, then runs as UID 797 (which was randomly chosen).
If you feel the README isn't clear, I'd appreciate suggestions to improve it.