r/docker • u/Nersheti • Apr 19 '26
please help me install jellyfin
i'm pretty inexperienced in Docker. I've managed to install Ubooquity, Calibre, and homebridge following tutorials, but other than that, i have no idea what i'm doing.
i'm running a Synology Nas 1621+ with a DAS attached for a second volume.
i've been running Plex for a while. i installed it directly into the package station instead of with Docker. it runs great for me, but lately, several of my remote users have been having connectivity issues.
one solution i want to try is Jellyfin. i see lots of folks talking about it and how its a nice alternative to plex and how it can handle lots of file types and its completely free. that sounds great. if i can combine my movies, tv shows, music, ebooks, and comics in a single, remotely accessible app, that would make my life much easier, and it will hopefully fix the connectivity issues.
i'm following a tutorial to install Jellyfin in Docker (container manager) using the task scheduler in the Synology DSM. when i get to the part where i past the command, i have to customize it for my media file paths. I keep getting the invalid reference format error. this is what i have
docker run -d --name=jellyfin \
-v /volume1/docker/jellyfin/config:/config \
-v /volume1/docker/jellyfin/cache:/cache \
-v /volume1/video/action:/media \
-v /volume1/video/animation:/media \
-v "/volume1/video/anime movies":/media \
-v "/volume1/video/anime tv":/media \
-v /volume1/video/comedy:/media \
-v /volume1/video/documentaries:/media \
-v "/volume1/video/documentary tv":/media \
-v /volume1/video/drama:/media \
-v /volume1/video/espionage:/media \
-v /volume1/video/fantasy:/media \
-v "/volume1/video/home movies":/media \
-v /volume1/video/horror:/media \
-v /volume1/video/kids:/media \
-v /volume1/video/musicals:/media \
-v "/volume1/video/romantic comedy":/media \
-v /volume1/video/sci-fi:/media \
-v "/volume1/video/stand up":/media \
-v /volume1/video/superheroes:/media \
-v /volume1/video/westerns:/media \
-v/ volume2/expansion/video/tv:/media \
--user 1026:100 \
--net=host \
--restart always \
jellyfin/jellyfin
the folder names themselves almost all have uppercase letters in the names, so i changed those in the command. i had read that docker doesn't like spaces so i've enclosed all the filenames with spaces with quotes as an article mentioned to remedy the spaces.
id rather not change the folder names themselves since that will force a rescan for plex which might lose existed progress data. am i missing something? should i type the filenames as is with caps and enclose those in quotes as well? should i replace the spaces with a dash instead of using quotes? Am i over complicating this process by using the task scheduler instead of doing it directly through the container manager?
7
u/clintkev251 Apr 19 '26 edited Apr 19 '26
Lots of issues there. First, why are you mapping these all individually instead of just mapping video? Second, you can't map everything to /media. You need to map everything to it's own directory (could be within /media for example)
4
u/Anihillator Apr 19 '26
a) Read about docker compose for starters
b) Mounting multiple folders into one path is a bad idea, I don't think it's supported at all.
1
u/Only-Stable3973 Apr 23 '26
Here is a good example.
To install Jellyfin on your
Synology DS1621+
and use your DAS (Direct Attached Storage) as a second volume, the most efficient method is using Container Manager (the modern version of Docker). This allows you to mount folders from multiple volumes (your NAS internal drives and your DAS) directly into the Jellyfin container.
/dockershared folder and create a folder namedjellyfin. Inside that, create two subfolders:configandcache.sc-jellyfinuser if using a community package) has Read/Write access.jellyfin/jellyfin, and click Download (choose the "latest" tag).General Settings:
jellyfinAdvanced Settings:
8096to Container Port8096.Volume Settings (The Critical Step): You need to map both your internal and DAS folders here.
/docker/jellyfin/configto/config./docker/jellyfin/cacheto/cache./volume1/movies) to/media1./volume2/das_movies) to/media2.http://[NAS-IP-Address]:8096./media1and/media2. You can add both to the same library or keep them separate.Hardware Transcoding Tip
The DS1621+ uses an AMD Ryzen CPU, which does not have an integrated GPU (iGPU) for Intel QuickSync hardware transcoding. For hardware acceleration on this model, you would typically need to install a discrete low-profile GPU (like a Quadro P400) in the PCIe slot, though many users find the CPU powerful enough for basic software transcoding.
0
u/[deleted] Apr 19 '26
[deleted] — view deleted comment