dperson/plex
Plex docker container
The free Plex Media Server simplifies your life by organizing all of your personal media, making it beautiful and streaming it to all of your devices.
This Plex container will initialize the config directory and exit on first run.
When it has completed, edit
your_config_location/Library/Application Support/Plex Media Server/Preferences.xml
to add your network to the allowed list (IE
allowedNetworks="192.168.1.0/255.255.255.0"
with your network range).
Restart the docker instance once more and proceed to setup plex at
http://*ipaddress*:32400/web
.
For more detailed instructions please see the plex site.
sudo docker run -it --name plex -p 32400:32400 --tmp /run -d dperson/plex
OR use local storage:
sudo docker run -it --name plex -p 32400:32400 --tmp /run \
-v /path/to/directory:/config \
-v /path/to/media:/data \
-d dperson/plex
sudo docker run -it --rm dperson/plex -h
Usage: plex.sh [-opt] [command]
Options (fields in '[]' are optional, '<>' are required):
-h This help
-t "" Configure timezone
possible arg: "[timezone]" - zoneinfo timezone for container
The 'command' (if provided and valid) will be run instead of plex
ENVIRONMENT VARIABLES
TZ
- As above, configure the zoneinfo timezone, IE EST5EDT
USERID
- Set the UID for the app userGROUPID
- Set the GID for the app userAny of the commands can be run at creation with docker run
or later with
docker exec -it plex plex.sh
(as of version 1.3 of docker).
sudo docker run -it --name plex -p 32400:32400 --tmp /run -d dperson/plex \
-t EST5EDT
OR using environment variables
sudo docker run -it --name plex -e TZ=EST5EDT -p 32400:32400 --tmp /run -d \
dperson/plex
Will get you the same settings as
sudo docker run -it --name plex -p 32400:32400 --tmp /run -d dperson/plex
sudo docker exec -it plex plex.sh -t EST5EDT ls -AlF /etc/localtime
sudo docker restart plex
If you have any problems with or questions about this image, please contact me through a GitHub issue.
docker pull dperson/plex