docker create --name=plex --net=host -e PUID=1000 -e PGID=100 -e TZ=Asia/Kolkata -v /data/PcMac:/config -v /data/PcMac:/data/movies -v /data/PcMac:/data/tvshows -v /data/PcMac:/transcode lsioarmhf/plex
上面的应该是完整命令行,下面是我修改后的,启动后可以在页面上添加上面媒体目录
docker create --name=plex --net=host -e PUID=1000 -e PGID=100 -e TZ=Asia/Kolkata lsioarmhf/plex
Pull Plex Docker Image
- This command will pull the Plex image for Docker.
- docker pull lsioarmhf/plex
To find PUID & PGID type
- Type ID on the start prompt and you will find UID & GID. As shown in the picture below.

- id
Setup Plex
- Let’s setup the Plex container with following commands.
- docker create \
>--name=plex \
>--net=host \
>-e PUID=1000 -e PGID=1000 \
>-e TZ=Asia/Kolkata \
>-v /mnt/PcMac:/config \
>-v /mnt/PcMac:/data/movies \
>-v /mnt/PcMac:/data/tvshows \
>-v /mnt/PcMac:/transcode \
>lsioarmhf/plex
Start Plex Container
- Docker start command will going to start the Plex Container.
- docker start "Container Name or ID"
Accessing Plex Media Server
- Here server local IP Address is your Raspberry Pi Address.
http://server.local.ip.address:32400/web
create your Raspberry Pi Docker Plex set up. You'll want to specify the folders for your media, which will vary based on your specific configuration:
docker create \ --name=plex \ --net=host \ -e PUID=-e PGID= \ -v
-v
-v
-v :/transcode \
lsioarmhf/plex
If you used the aforementioned mount path, use /mnt/Plex media with corresponding movies and TV show folders, your set up will look like:
docker create \ --name=plex \ --net=host \ -e PUID=-e PGID= \ -v /mnt/Plex media:/config \ -v /mnt/Plex media:/data/tvshows \ -v /mnt/Plex media:/data/movies \ -v /mnt/Plex media:/transcode \ lsioarmhf/plex
Test that everything worked with:
docker ps -a
You should see any Docker containers you've got running. If you've got a Plex container, then enter:
docker start plex
After that, an output should display which shows your status and uptime for the Docker Plex image. Open a web browser and navigate to [Raspberry Pi IP address]:32400/web. You should see the Plex Media Server configuration screen, where you'll walk through some set up for adding folders, naming your server, and more.
没有评论:
发表评论