Jellyfin-Medienserver einrichten
Installiere Jellyfin mit Docker und streame deine Filme, Serien und Musik kostenlos auf alle Geräte.
Jellyfin is a free, open-source media server with no subscriptions, no premium tier and no telemetry. It streams your own movies, shows, music and photos to phones, TVs, browsers and streaming boxes. This tutorial gets it running with Docker, shows how to name files so artwork and metadata work first time, and covers hardware transcoding and the common problems.
Prerequisites
- A home server with Docker installed and basic Docker knowledge.
- Your media organised into folders, for example
/mnt/media/moviesand/mnt/media/tv. - A machine with enough power for your needs. Direct play of files uses almost no CPU; transcoding uses a lot unless you have hardware acceleration. See our hardware guide and GPUs for transcoding.
Step 1: Prepare your media folders
Jellyfin matches titles to online metadata by file and folder names, so names matter. Use these patterns:
/mnt/media
├── movies
│ └── Inception (2010)
│ └── Inception (2010).mkv
└── tv
└── Breaking Bad
├── Season 01
│ └── Breaking Bad - S01E01.mkv
└── Season 02One folder per movie with the year in the name, and one folder per show with Season 01 subfolders, avoids almost every mismatch. Music works best as Artist/Album/01 - Track.flac.
Step 2: Create the Compose file
services:
jellyfin:
image: jellyfin/jellyfin:latest
container_name: jellyfin
user: 1000:1000
ports:
- "8096:8096"
volumes:
- ./config:/config
- ./cache:/cache
- /mnt/media:/media:ro
restart: unless-stopped
# For Intel/AMD hardware transcoding, expose the GPU:
# devices:
# - /dev/dri:/dev/dri
# group_add:
# - "105" # the group id that owns /dev/dri/renderD128Notes on the file:
user: 1000:1000runs Jellyfin as your normal user so files inconfigare not owned by root. Use the IDs fromid.- The media volume is mounted read-only (
:ro), so a bug or a mistake in Jellyfin can never delete your library. - Keep
configandcacheon an SSD for a faster interface. Config holds your users, watch history and metadata, so back it up.
Step 3: Start Jellyfin
docker compose up -d
docker compose logs -f jellyfinWait until the log shows that the server has started.
Step 4: Run the setup wizard
Open http://your-server-ip:8096 and follow the wizard:
- Create an admin account with a strong password.
- Add your media libraries: choose a content type (Movies, Shows, Music), then select
/media/movies,/media/tvand so on. - Pick your preferred metadata language and country.
- Leave remote access enabled for now and tighten it later.
Jellyfin then scans and downloads artwork, descriptions and cast information. A large library can take a while on the first scan.
Step 5: Install the apps
Jellyfin has apps for Android, iOS, Android TV and Google TV, Fire TV, Roku, Apple TV (through third-party clients), LG and Samsung TVs, and every web browser. Sign in with your server address and account. For the best experience on TVs, prefer devices that can direct play your file formats so the server does not transcode.
Step 6: Enable hardware transcoding (optional)
Transcoding converts video on the fly when a device cannot play a file directly (for example a high-bitrate 4K file streamed to a phone over mobile data). Doing this on the CPU is heavy. If your processor has an integrated GPU, Intel Quick Sync is excellent and uses only a few watts.
- Check that the render device exists on the host:
ls -l /dev/dri. You should seerenderD128. - Uncomment the
devicesblock in the Compose file, and add the group that owns the render device (find it withstat -c '%g' /dev/dri/renderD128). - Recreate the container:
docker compose up -d. - In Jellyfin, go to Dashboard → Playback → Transcoding, choose Intel QuickSync (QSV) or VAAPI, and tick the codecs your hardware supports.
- Play something that forces a transcode and watch the dashboard. It should show the stream using hardware.
Unlike Plex, Jellyfin includes hardware transcoding for free.
Step 7: Access it remotely and safely
Use a VPN like Tailscale or WireGuard to stream from outside your home without exposing Jellyfin to the internet. If you do publish it, put it behind a reverse proxy with HTTPS, use strong passwords and keep the server updated. Read the secure remote access guide first.
Step 8: Add a request portal and automation
Once Jellyfin works, you can let your household request titles with Jellyseerr and automate downloads and imports with the *arr stack.
Troubleshooting
- Wrong poster or title: rename the folder to
Title (Year)and use Identify on the item to pick the right match. - Library does not update: trigger a scan from Dashboard → Libraries, and check that Jellyfin can read the folder (the user needs read permission).
- Buffering or stuttering: check whether the client is transcoding. Reduce the quality on the client or enable hardware acceleration.
- Hardware transcoding does not work: confirm the device is passed through, the group permission is right, and your CPU supports the codec you are using.
- Container cannot see the media: check that the path on the host exists and the mount in the Compose file matches.
Keeping it healthy
Update with docker compose pull && docker compose up -d, and pin a specific version tag instead of latest if you prefer to control when updates happen. Monitor the server with Uptime Kuma and include the config folder in your backups.
Plex or Jellyfin?
Both are great. See our detailed Plex vs Jellyfin comparison to decide.
Enjoy your own private, ad-free streaming service.
Verwandte Artikel
How to Set Up Jellyseerr for Media Requests
Install Jellyseerr with Docker, connect it to Jellyfin, Sonarr and Radarr, and set up users, quotas and approvals so your household can request media on its own.
How to Install Immich Photo Backup
Install Immich with Docker to replace Google Photos: official Compose files, storage layout, mobile backup, machine learning, hardware acceleration, backups and upgrade safety.
Plex vs. Jellyfin
Plex vs. Jellyfin im Vergleich: Funktionen, Hardware-Transcoding, Datenschutz, Kosten und welcher Medienserver zu dir passt.