2024-03-10, 10:51 PM
(This post was last modified: 2024-03-10, 10:52 PM by 34626. Edited 1 time in total.)
Okay, then to install and use Jellyfin in a docker:
mkdir docker/jellyfin
cd docker/jellyfin/
mkdir config cache
sudo apt install docker-compose
sudo docker pull jellyfin/jellyfin
Then run the following command and type whats below in. Please edit "username" to what the username of your system is, and please notice that the media path ends with :ro so Jellyfin only has permission to read the media, this means that if you allow users of Jellyfin to delete data, they wont be able to. (Just an example)
nano docker-compose.yml and add:
services:
jellyfin:
image: jellyfin/jellyfin:latest
container_name: jellyfin
user: 1000:1000
network_mode: 'bridge'
devices:
- /dev/dri:/dev/dri
ports:
- 8096:8096
volumes:
- /home/username/docker/jellyfin/config:/config
- /home/username/docker/jellyfin/cache:/cache
- /home/username/docker/jellyfin/JMS:/JMS:ro
restart: 'unless-stopped'
To start the container in background (Means you can quit the ssh connection without killing the container, if you dont add -d it will run in foreground and block anything else untill you press ctrl + c
:
sudo docker-compose up -d
To stop it:
sudo docker-compose stop
If you need to restart it, then use the stop an the up -d commands as mentioned above.
Please let me know when it's up and running. A benefit of using docker, is you can easily backup your Jellyfin data (users, settings etc.)
mkdir docker/jellyfin
cd docker/jellyfin/
mkdir config cache
sudo apt install docker-compose
sudo docker pull jellyfin/jellyfin
Then run the following command and type whats below in. Please edit "username" to what the username of your system is, and please notice that the media path ends with :ro so Jellyfin only has permission to read the media, this means that if you allow users of Jellyfin to delete data, they wont be able to. (Just an example)
nano docker-compose.yml and add:
services:
jellyfin:
image: jellyfin/jellyfin:latest
container_name: jellyfin
user: 1000:1000
network_mode: 'bridge'
devices:
- /dev/dri:/dev/dri
ports:
- 8096:8096
volumes:
- /home/username/docker/jellyfin/config:/config
- /home/username/docker/jellyfin/cache:/cache
- /home/username/docker/jellyfin/JMS:/JMS:ro
restart: 'unless-stopped'
To start the container in background (Means you can quit the ssh connection without killing the container, if you dont add -d it will run in foreground and block anything else untill you press ctrl + c
:
sudo docker-compose up -d
To stop it:
sudo docker-compose stop
If you need to restart it, then use the stop an the up -d commands as mentioned above.
Please let me know when it's up and running. A benefit of using docker, is you can easily backup your Jellyfin data (users, settings etc.)
Server: Intel NUC N5105 - 32 GB RAM
HDD: OS: 1 x WD Red SA500 2TB + 2x 8 TB + 2x 4 TB WD Red Plus in 4x LC-35U3-C-HUB
OS: Debian 12 + Jellyfin 10.9.11 Docker
Network: 2x ASUS GT-AX6000 + RT-AX92U in Aimesh
HDD: OS: 1 x WD Red SA500 2TB + 2x 8 TB + 2x 4 TB WD Red Plus in 4x LC-35U3-C-HUB
OS: Debian 12 + Jellyfin 10.9.11 Docker
Network: 2x ASUS GT-AX6000 + RT-AX92U in Aimesh