Force Docker:Jellyfin to use existing config data on Synology

1k Views Asked by At

i previously ran jellyfin on my desktop comuputer and put a lot of work into the manual creation of collection (descriptions, folder pictures etc.). Now i want to implement jellyfin on my brandnew Synology DS220+ NAS, which is running Jellyfin on Docker. If my understanding of Docker is correct, it is running an instance of the jellyfin app. So while its running, i am not able to see the folders/files of jellyfin in my FileStation-Browser.

So my question is: How can i force Jellyfin/Docker to use the existing Jellyfin-Collection-Data from my desktopPC (which are bacically .xml files).

Thanks in advance!!

2

There are 2 best solutions below

3
On

You need to map filepaths for config, cache and media. From the jellyfin docs:

docker run -d -v /srv/jellyfin/config:/config -v /srv/jellyfin/cache:/cache -v /media:/media --net=host jellyfin/jellyfin:latest

Arguments of -v flag means volume mapping. Left of colon(:) is your machine's path while right side is the path viewed by jellyfin in its container. If you don't map internal volumes of a container with your machine, you cannot view those files and the data created will be destroyed on container shutdown.

So basically replace the config,cache and media paths of the above command with your folder paths

0
On

The docker run hello-world by @vanshaj is ment to be executed in the terminal window (ssh session) and not in a docker container.

Another approach would be to install the jellyfin package of synocommunity.com. This package does not use docker and is available since just a few days ago.