Install Jellyfin on Docker

I was able to get this to work.

  • Using the UI, set Docker’s root directory to /mnt/raid/docker
  • created volumes:
docker volume create jellyfin-config
docker volume create jellyfin-cache
  • started the container:
docker run -d \
 --name jellyfin \
 --net=host \
 --volume jellyfin-config:/config \
 --volume jellyfin-cache:/cache \
 --mount type=bind,source=/mnt/raid/media,target=/media \
 --restart=unless-stopped \
jellyfin/jellyfin

The problem was probably with the volume creations.