Ubuntu 18.04 = going from DPKG to Docker

Okay, so I guess going from old school PMS to Docker is a necessity as updater scripts keep breaking when Plex changes its API and URLs on the regular. I have not used Docker at any point before, so I am ignorant to be frank.

My current PMS has the following libraries:
Concerts: /media/storage2/Videos/Concerts
Movies: /media/storage2/Videos/Movies
Music: /media/storage3/Music/Plex
Comedy: /media/storage2/Videos/Comedy
TV Shows: /media/storage2/Videos/TV Shows
UHD Movies & Docus: /media/storage4/Videos/4KMovies
UHD TV Shows: /media/storage2/Videos/4KTVShows
FamilyMemories: /media/storage2/Videos/Personal

Transcode is from: /media/storage5/plex/temp/

Also, Concerts and Movies use a SYMLINK to storage4 at this time so the library data wouldn’t be lost. Back in the day I had that issue and don’t know if Plex still does so I left the SYMLINK in place since 2014…

My meek assumptions on getting this done, after reading a few posts, are to do:

apt-get install docker.io

docker pull plexinc/pms-docker

sudo docker create
–name=plex
–net=host
–restart=always
-e VERSION=latest
-e PUID=1001 -e PGID=1001
-e TZ=America/New_York
-v /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/:/config
-v /media/storage5/plex/temp/:/transcode
linuxserver/plex

dpkg --remove pms (will find its package name later)

sudo docker start plex

However, I’m not sure how to accomplish all of my libraries so that data is not lost.

"-v /media/storage2/Videos/Movies:/data/movies " seems right. But, how would I make the Docker’s /data/path for all of the rest of the custom ones so that their original data is picked up from the config file?

And, is there anything else important missing to keep things operating just like it was on the old PMS installed via dpkg?

you are aware that the left hand side of the volume mapping is the host path, followed by a colon and then the right hand side, which is the mounts target path inside the container?

The container paths you use, need to be precisly the same paths that you previously used before. If the path was /media/storage2/Videos/Movies, then " -v /media/storage2/Videos/Movies:/media/storage2/Videos/Movies" is what your need to use. Otherwise the containerized plex won’t be able to find the files it expect in /media/storage2/Videos/Movies. Does that make sense?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.