mkdir -p /opt/appdata/plex/config
mkdir -p /opt/appdata/plex/transcode
mkdir -p /opt/appdata/plex/data——————————————–
前往 https://www.plex.tv/claim/ 获取 TOKEN, 对应PLEX_CLAIM字段的值
sudo docker run \
-d \
–name plex \
-p 32400:32400/tcp \
-p 3005:3005/tcp \
-p 8324:8324/tcp \
-p 32469:32469/tcp \
-p 2400:2400/udp \
-p 32410:32410/udp \
-p 32412:32412/udp \
-p 32413:32413/udp \
-p 32414:32414/udp \
-e TZ=Asia/Shanghai \
-e PLEX_CLAIM=claim-xxxxxxxxxxxxxxxx \
-e ADVERTISE_IP="http://192.168.2.111:32400/" \
-h myplexserver \
-v /opt/appdata/plex/config:/config \
-v /opt/appdata/plex/transcode:/transcode \
-v /opt/appdata/plex/data:/data \
plexinc/pms-docker
原文链接:https://blog.csdn.net/weixin_45263494/article/details/124222940?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522171836987416800182186383%2522%252C%2522scm%2522%253A%252220140713.130102334.pc%255Fblog.%2522%257D&request_id=171836987416800182186383&biz_id=0&utm_medium=distribute.pc_search_result.none-task-blog-2~blog~first_rank_ecpm_v1~times_rank-24-124222940-null-null.nonecase&utm_term=%E7%BB%BF%E8%81%94NAS