docker pull jellyfin/jellyfin:latest
mkdir -p /home/jellyfin/{config,cache,media}
docker run -d \
–name jellyfin \
–net=host \
–volume /home/jellyfin/config:/config \
–volume /home/jellyfin/cache:/cache \
–mount type=bind,source=/home/jellyfin/media,target=/media \
–restart=unless-stopped \
jellyfin/jellyfin
使用http://IP:8096/访问