Closed slenarduzzi closed 3 years ago
Same problem here. PUID and GUID are just ignored. I thought I read somewhere a few years back that the environment variables for user/group IDs in Docker were depreciated...but don't quote me on that. Using the -u or --user parameter on the docker statement does work as advertized...the container now operates under the ID and group I specify. The config and music directories naturally must have compatible permissions.
Docker command line that works:
docker create \
--name logitechmediaserver \
--net host \
--restart=on-failure:5 \
-u 1000:100 \
-v /path/to/config:/config \
-v /path/to/music:/mnt/Music:ro \
-v /etc/localtime:/etc/localtime:ro \
-t -i jboesl/logitechmediaserver
I'm no longer changing anything here besides doing basic updates. I think you should take a look at the official image which recently emerged: https://hub.docker.com/r/lmscommunity/logitechmediaserver
I get the following error when I add PUID and GUID in the configuration of the container on Synology's Docker :
If I log in into the bash shell, the ID command shows 101 instead of 1027 :
Thanks