There’s a much easier way.
https://docs.linuxserver.io/images/docker-jellyfin/#usage
Copy the text from the docker-compose section, and paste it into a file called compose.yaml
You can also add your other programs which rely on each other (Sonarr/Radar/qBitttorrent) in this same compose.yaml file (you can find them on this website).
When copying the other programs, omit the lines:
---
Services:
After that, in your terminal, navigate to where the compose.yaml file is, and run this command
docker compose up -d
Now your suite of applications are installed and can talk to each other.
You’ll need to change some of the details of the compose file (to set timezones and media directories).
You can restart programs with
docker restart jellfin