Going from Synology Plex App -> Docker image

I’m a command-line guy too… :smiling_imp:

So much that I have a little script for it on my Linux box. (easily adaptable)

[chuck@lizum docker.2003]$ cat dockerplex
sudo docker stop plex
sudo docker rm plex

# Remove old image if exists
Image="$(sudo docker images | grep -i plex | awk '{print $3}')"

if [ "$Image" != "" ]; then

  sudo docker stop plex
  sudo docker stop plex
  sudo docker rm plex
  sudo docker rmi -f $Image
fi


sudo docker run \
-d \
--name plex \
--network=host \
-e PLEX_CLAIM="claim-2rZSB3JW2t56cJngN9kt" \
-e TZ="EST" \
-e LANG="en_US.UTF-8" \
-e PLEX_UID=1000 \
-e PLEX_GID=1000 \
-e PUID=1000 \
-e PGID=1000 \
-h dockerplex \
-v /sata/dockerplex:/config \
-v /sata/dockerplex/tmp:/tmp \
-v /sata/dockerplex/transcode:/transcode \
-v /vie:/data \
--device=/dev/dri:/dev/dri \
plexinc/pms-docker:plexpass

docker start plex
docker update --restart=unless-stopped plex

On Synology, you can make this a Scheduled Task which runs natively as root with no schedule (run on demand).

After adjusting the UID/GID to match that of PlexMediaServer and changing where /config is (as I show in the how-to), you’ll be all set.

PS: I don’t see why Linuxserver won’t work. I think that’s where the “good PMS image” is :wink:

Did you see this ?