After my previous post with podman and alma, I decided to try docker and debian, as there was a bug with podman that caused issues wit performance on raspberry pi.

This post will serve as guide to walk through the hardware/setup, and some of the docker commands use to get a media server up and running on a raspberry 4 using the jellyfin container.

Hardware:

  • raspberry pi 4, running debian linux
  • I purchased the hink sink, and a few fans to keep it cool
  • an external hard drive, I am using a 1TB seagate ssd usb drive

This guide assumes that you already have OS installed and connected with wired or wifi as well.

Lets get started.

Mount your hard drive, in my case:

   mount /dev/sda1 /MOUNTPOINT. Once mounted, create your media directory
   

Fire up, and grab the jellyfin image with docker. Below is template for the jellyfin image.

   docker run -d \
  --name=jellyfin \
  -e PUID=1000 \
  -e PGID=1000 \
  -e TZ="" \
  -e JELLYFIN_PublishedServerUrl="" \
  -p 8096:8096 \
  -v /path/to/library:/config \
  -v /path/to/tvseries:/data/tvshows \
  -v /path/to/movies:/data/movies \
  --restart unless-stopped \
  lscr.io/linuxserver/jellyfin:latest
  
- replace $USER with your user account, and then your media path