Skip to content

Latest commit

 

History

History
 
 

plex

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Docker Plex

This is a Dockerfile to set up Plex Media Server.

Build

Build from Dockerfile:

docker build -rm -t plex .

Create data-only volume:

docker run -v /config --name plex_config scratch true &> /dev/null

Run

The ports to open up come from the info here. Systemd service file is also available.

docker run -h <plex_host_name> -d --volumes-from plex_config --volumes-from media_data -p 32400:32400 -p 32443:32443 -p 1900:1900/udp -p 32463:32463 -p 5353:5353/udp -p 32410:32410/udp -p 32412:32412/udp -p 32413:32413/udp -p 32414:32414/udp --name plex_run plex

Manage

To manage downloaded media (access the media_data volume):

# docker run -i -t --rm --volumes-from media_data ubuntu /bin/bash