命令:
# sudo docker run -d --name jellyfin10.6.4 \ -v /volume1/DockerShare/jellyfin/config:/config \ -v /volume1/DockerShare/jellyfin/cache:/cache \ -v /volume2/media:/media \ -p 8096:8096 \ --device=/dev/dri/renderD128 \ --restart unless-stopped \ harbor.ifok.net:10202/ifok/jellyfin:10.6.4
参数说明:
说明:
/volume1/DockerShare/jellyfin/config
配置目录
/volume1/DockerShare/jellyfin/cache
缓存目录
/volume2/media
媒体文件目录
--device=/dev/dri/renderD128
硬解码的核心,映射该设备到docker里面
如果不支持硬解码则无需设置
--device=/dev/dri/renderD128
https://www.leftso.com/article/822.html