Code: Select all
step 1:
Create 2 directories as below,
/mnt/md0/appdata/jellyfin/cache
/mnt/md0/appdata/jellyfin/config
step 2:
SSH into your NAS.
step 3: (As root)
docker pull jellyfin/jellyfin
step 4: (As root)
docker run -d -p 8096:8096\
--name jellyfin \
--user 2:4 \ #####You will need to find the uid and gid using "id -u <username>", "id -g <username>"
--net=host \
-v /mnt/md0/appdata/jellyfin/cache:/cache \
-v /mnt/md0/appdata/jellyfin/config:/config \
-v /mnt/md0/public:/media \
--restart=unless-stopped \
jellyfin/jellyfin