Builds a Docker image to run Plex.
If you need to build the image:
docker build -t plex .
Setup volumes for exposing to your host. The actual NFS/SMB mounts must exist on your Docker host
VOLUME [ "/var/lib/plexmediaserver","/movies","/music","/pictures","/tv_shows","/videos"]
Exposes the following ports
1900/udp5353/udp3240032400/udp3246932469/udpSpin up example:
docker run --net=host -d -v plex_config:/var/lib/plexmediaserver \
-v /mnt/movies:/movies -v /mnt/music:/music \
-p 1900:1900/udp -p 5353:5353/udp -p 32400:32400 \
-p 32400:32400/udp -p 32469:32469 \
-p 32469:32469/udp mrlesmithjr/plex
Docker-compose example:
docker-compose up -d
Requirements: Ensure that your host has the correct mounts mounted as in the example above:
BSD
Larry Smith Jr.
Content type
Image
Digest
Size
194.5 MB
Last updated
over 8 years ago
docker pull mrlesmithjr/plex