Jellyfin Media Server Installation (Docker on macOS)
This guide walks you through installing Jellyfin Media Server in a Docker container on macOS using Docker Desktop. This approach keeps Jellyfin fully isolated from your operating system while still allowing it to access your local media folders.
By the end of this guide, you’ll be able to stream your movies, TV shows, and music to any device in your home — and optionally access them remotely. If you want to install Jellyfin in Docker on Windows, be sure to use this alternative guide.
What is Docker?
Docker allows you to package and run applications inside lightweight, isolated containers. Instead of installing Jellyfin directly on macOS, we run it in a container that includes everything it needs. This results in a cleaner setup, simpler upgrades, easier backups, and a configuration that can be moved to another machine with minimal effort.
What is Jellyfin?
Jellyfin is an open-source media server that organizes and streams your local media files to phones, tablets, smart TVs, and web browsers. It automatically downloads metadata, artwork, and episode information to create a clean, Netflix-style interface for your personal media library.
Requirements
-
macOS (Intel or Apple Silicon)
-
Admin access
-
At least 8 GB RAM recommended
-
Internet connection
Step 1 – Install Docker Desktop on macOS
-
Download Docker Desktop for Mac:
https://www.docker.com/products/docker-desktop/ -
Open the
.dmgfile and drag Docker.app into your Applications folder -
Launch Docker from Applications
-
When prompted:
-
Allow system permissions
-
Approve background services
-
Enter your macOS password
-
-
Wait until Docker shows:
Docker Desktop is running
You can verify by opening Terminal and running:
Step 2 – Create Your Media & Config Folders
Choose where you want your media stored. A clean example:
Create them with Finder or via Terminal:
Your structure should look like:
Step 3 – Share Folders with Docker Desktop
This step is critical on macOS.
-
Open Docker Desktop
-
Go to Settings
-
Click Resources → File Sharing
-
Add:
-
Click Apply & Restart
If you skip this, Docker will not be able to access your files.
Step 4 – Create the Docker Compose File
Open Terminal:
Paste:
Important: Replace yourname with your actual macOS username.
Save and exit:
-
CTRL + X -
Y -
Enter
Step 5 – Start Jellyfin
From the same folder:
Verify:
You should see a container named jellyfin running.
Step 6 – Initial Jellyfin Setup
Open a browser and go to:
Then:
-
Select your preferred language → Next
-
Create admin username and password → Next
-
Add Media Libraries:
-
Movies →
/media/Movies -
TV Shows →
/media/TV -
Music →
/media/Music
-
-
Keep defaults → Next
-
Finish → Log in
Step 7 – Add Media
Copy your files into:
Then inside Jellyfin:
-
Menu (☰) → Refresh Metadata
Your content will appear.
Step 8 – Play Jellyfin on Devices
Install Jellyfin on:
-
Apple TV
-
iPhone / iPad
-
Android TV
-
Smart TVs
-
Or use a web browser
When prompted for the server:
Log in with the account you created.
Optional (But Strongly Recommended)
A) Hardware Transcoding on macOS
On Apple Silicon:
-
Jellyfin will use software transcoding inside Docker
-
Hardware acceleration is limited inside Docker on macOS
-
For heavy transcoding, a Linux host is preferred
On Intel Macs:
-
Quick Sync may be available, but support varies
-
Many users run Jellyfin in direct macOS installs for hardware acceleration
For most users: direct play works perfectly and transcoding is rarely needed.