Public | Automated Build

Last pushed: 2 days ago
Short Description
Plex in a docker container. This image uses supervisord.
Full Description

fedora-plex

Plex in a docker container. This image uses supervisord.

Getting Started

To start your plex server, use:
docker run -d -P --restart=always --name plex -v /config/:/config/:z -v /media/:/media/:z --net=host docbill/fedora-plex

If the :z flag is not recognized then just try:
docker run -d -P --restart=always --name plex -v /config/:/config/ -v /media/:/media/ --net=host docbill/fedora-plex

Your media can be stored anywhere. You can also change where it is mounted in the folder. This can be useful if you are using an existing config folder, with a particular path... For example, if you are migrating from a server where your media was in /mnt/share but is not mount as /data then you would use:

docker run -d -P --restart=always --name plex -v /config/:/config/:z -v /data:/mnt/share/:z --net=host docbill/fedora-plex

This way you can freely move your data and keep your plex config intact.

Plex will run as the owner of the /config directory.

Docker Pull Command
Owner
docbill
Source Repository

Comments (1)
docbill
9 months ago

An extra example doesn't hurt. Here is the actual script I use:

[briemers@media1 ~]$ cat ./plex.sh

#!/bin/bash
exec /usr/bin/docker run -d -P --restart=always --net=host --name plex \
-v "/mnt/share/spool/plex/docbillnet/:/config/:z" \
-v "/mnt/share:/mnt/share:z" \
docbill/fedora-plex

All my movies and such a stored in /mnt/share so that is what I load in the container. I long since moved my config folder to a spool directory on the same disk, as I have much more disk space there, and my backup scripts know to treat spool folders different than movie folders.