Jellyfin docker安装
使用docker-compose:

version: "3"
services:
jellyfin:
image: nyanmisaka/jellyfin:latest
container_name: jellyfin
environment:
- PUID=0
- PGID=0
- TZ=Asia/Shanghai
volumes:
- /share/Container/jellyfin/config:/config
- /share/Video:/media
ports:
- 8096:8096
- 8920:8920
extra_hosts:
- "api.themoviedb.org:13.224.161.90"
- "image.themoviedb.org:104.16.61.155"
- "api.themoviedb.org:13.35.67.86"
- "www.themoviedb.org:54.192.151.79"
- "api.thetvdb.com:13.225.89.239"
- "api.thetvdb.com:13.249.175.212"
- "api.thetvdb.com:13.35.161.120"
- "api.themoviedb.org:13.226.238.76"
- "api.themoviedb.org:13.35.7.102"
- "api.themoviedb.org:13.225.103.26"
- "api.themoviedb.org:13.226.191.85"
- "api.themoviedb.org:13.225.103.110"
- "api.themoviedb.org:52.85.79.89"
- "api.themoviedb.org:13.225.41.40"
- "api.themoviedb.org:13.226.251.88"
devices:
- /dev/dri:/dev/dri
restart: "unless-stopped"
deploy:
resources:
limits:
cpus: "0.60"
memory: 10240M

volumes映射本地目录
ports自定义端口
extra_hosts防止刮削DNS污染
limits限制资源