I have an Intel NUC running plex media server on ubuntu headless server. It’s running beautifully, and barely uses the nuc’s resources. The videos are stored on a synology ds923+ NAS.
I’m thinking of adding a couple of new services to the NUC and would like to move to a dockerised setup. This would involve moving the plexmediaserver into a docker.
Is there a good way to do this without having to recreate and rescan all the plex video libraries?
I think this should work? I used this method when migrating my plex server to a lxc container.
You can just copy over the Library folder, that should do it. Then set up the plex Docker to use bind mounts instead of volumes and place your old library into that bind mount.
I usually do
~/docker/plex/Library
and have the Docker compose file in the~/docker/plex
folderIf you use hardware transcoding or similar features, you’ll have to find out how to pass the necessary devices through into the docker container!
This tutorial does this (if I read the compose fole right). https://drfrankenstein.co.uk/2021/12/06/plex-in-docker-on-a-synology-nas-hardware-transcoding/
Not sure if it is any good, I haven’t tried it.