đģ Jellyfin (Media Server)
apti snapd
sudo snap install docker
Yep, container in a container. But it works!
sudo docker pull jellyfin/jellyfin
mkdir ~/.config/jellyfin
mkdir ~/.config/jellyfin/config
mkdir ~/.config/jellyfin/cache
First run will take a while to cache (20-60+ minutes)
sudo docker run -d \
--volume /home/$USER/.config/jellyfin/config:/config \
--volume /home/$USER/.config/jellyfin/cache:/cache \
--volume /mnt/Storage/Videos:/data/videos \
--volume /mnt/Storage/Music:/data/music \
--volume /mnt/Storage/Pictures:/data/pictures \
--user 1000:1000 \
--net=host \
--restart=unless-stopped \
jellyfin/jellyfin
My personal setup script
!#/bin/bash
# jellyfin_setup.sh
sudo docker run -d \
--volume /home/$USER/.config/jellyfin/config:/config \
--volume /home/$USER/.config/jellyfin/cache:/cache \
--volume /mnt/Storage/Videos:/data/videos \
--volume /mnt/Storage/Music:/data/music \
--volume /mnt/Storage/Pictures:/data/pictures \
--user 1000:1000 \
--net=host \
--restart=unless-stopped \
jellyfin/jellyfin
sudo docker ps
sudo docker stop [CONTAINER ID]
sudo aa-remove-unknown
You may want to đ read about the repercussions of
aa-remove-unknown
before continuing.sudo docker ps
sudo docker stop [CONTAINER ID]
sudo docker pull jellyfin/jellyfin
$HOME/.scripts/jellyfin_setup.sh
The script I use can be found đ here
$HOME/.scripts/jellyfin_setup.sh
sudo docker ps
sudo docker restart [CONTAINER ID]
Certain container formats may throw this error with đ VA-API hardware encoding enabled (AMD GPU).
- Confirm by toggling hardware encoding off via: Hamburger > Dashboard > Playback > Transcoding