Starting the container¶
docker run --rm \ --name plex \ -p 32400:32400 \ -e PUID=1000 \ -e PGID=1000 \ -e UMASK=002 \ -e TZ="Etc/UTC" \ -e PLEX_CLAIM="" \ -e ADVERTISE_IP="" \ -e ALLOWED_NETWORKS="" \ -e PLEX_PASS="no" \ -v /<host_folder_config>:/config \ -v /<host_folder_transcode>:/transcode \ hotio/plex
version: "3.7" services: plex: container_name: plex image: hotio/plex ports: - "32400:32400" environment: - PUID=1000 - PGID=1000 - UMASK=002 - TZ=Etc/UTC - PLEX_CLAIM - ADVERTISE_IP - ALLOWED_NETWORKS - PLEX_PASS=no volumes: - /<host_folder_config>:/config - /<host_folder_transcode>:/transcode
In most cases you'll need to add additional volumes, depending on your own personal preference, to get access to your files.
Where can I find the source of the image?
You can click the tag name to go to the source on GitHub for that particular tag. Every tag has its own branch.
master branch is used as a landing page and to store some statistics used by this page to populate the table.
Temporary tags/branches might not show up in the table, but are also generally not for end-user consumption.
Clicking the commit sha brings you to the exact source of that commit.
By default the container has 2 volumes defined, the volume
/config that contains the configuration files and the volume
/transcode which is used as the default transcode directory.
Claim your server¶
Go to plex.tv/claim and login with your account, copy the claim code and add it to the environment variable like this
-e PLEX_CLAIM="claim-xxxxxxxxxxxxxxxxxxxx". When starting the new plex server for the first time, the server will be added to your account.
If you are a Plex Pass subscriber, you can enable the install of beta builds with
-e PLEX_PASS="yes". When the container starts, a version check is done for the latest beta and installed if a newer version is found.
Environment variables ADVERTISE_IP and ALLOWED_NETWORKS¶
The variables correspond to the below plex network settings.
ADVERTISE_IP is useful to aid your local clients in discovering your plex server when running in the
bridge network mode. Most likely you would use something like
http://192.168.0.10:32400. You could use
ALLOWED_NETWORKS when you're locked out and need to regain access without providing credentials.
TOP secret stuff¶
If you do
-e PLEX_PASS="https://...", stuff happens for which no support will be given.
To make your hardware devices available inside the container use the following argument
--device=/dev/dri:/dev/dri for Intel QuickSync and
--device=/dev/dvb:/dev/dvb for a tuner. NVIDIA users should go visit the NVIDIA github page for instructions.