binhex-plex

binhex-plex

Docker app from Binhex's Repository

Overview

The Plex Media Server enriches your life by organizing all your personal media, presenting it beautifully and streaming it to all of your devices. It's easy to use, it's awesome, and it's free!

Application

Plex

Description

The Plex Media Server enriches your life by organizing all your personal media, presenting it beautifully and streaming it to all of your devices. It's easy to use, it's awesome, and it's free![

Build notes

Latest stable Plex Media Server release from Arch Linux AUR.

Usage

docker run -d \
    --net="host" \
    --name=<container name> \
    -v <path for media files>:/media \
    -v <path for config files>:/config \
    -v /etc/localtime:/etc/localtime:ro \
    -e HEALTHCHECK_COMMAND=<command> \
    -e HEALTHCHECK_ACTION=<action> \
    -e HEALTHCHECK_HOSTNAME=<hostname> \
    -e UMASK=<umask for created files> \
    -e PUID=<uid for user> \
    -e PGID=<gid for user> \
    binhex/arch-plex

Please replace all user variables in the above command defined by <> with the correct values.

Access application

http://<host ip>:32400/web

Example

docker run -d \
    --net="host" \
    --name=plex \
    -v /media/movies:/media \
    -v /apps/docker/plex:/config \
    -v /etc/localtime:/etc/localtime:ro \
    -e UMASK=000 \
    -e PUID=0 \
    -e PGID=0 \
    binhex/arch-plex

Notes

User ID (PUID) and Group ID (PGID) can be found by issuing the following command for the user you want to run the container as:-

id <username>

You cannot specify the port the docker container uses, it requires full access to the hosts nic and thus the -p flag is not used.


If you appreciate my work, then please consider buying me a beer :D

PayPal donation

Documentation | Support forum

Install binhex-plex on Unraid in a few clicks.

Find binhex-plex in Community Apps on your Unraid server, review the template, and click Install. Unraid handles the Docker app or plugin setup from the published template.

Open the Apps tab on your Unraid server Search Community Apps for binhex-plex Review the template variables and paths Click Install

Download Statistics

5,825,681
Total Downloads
5,898
This Month
7,115
Avg / Month

Total Downloads Over Time

Loading chart...

Details

Repository
ghcr.io/binhex/arch-plex
Last Updated2026-05-19

Runtime arguments

Web UI
http://[IP]:[PORT:32400]/web
Network
host
Shell
bash
Privileged
false
Extra Params
--restart=unless-stopped

Template configuration

Path: /configPathrw

This is the container path to your configuration files, e.g. databases, configuration files, logs etc.

Target
/config
Default
/mnt/user/appdata/plex
Path: /mediaPathrw

This is the container path to your media files, e.g. movies, tv, music, pictures etc.

Target
/media
Default
/mnt/user
Variable: TRANS_DIRVariable

Specify the path to store temporary transcode files.

Target
TRANS_DIR
Default
/config/transcode
Variable: NVIDIA_DRIVER_CAPABILITIESVariable

Specify whether this container can use all Nvidia driver capabilities for transcoding, if you have a Nvidia card set this to 'all'.

Target
NVIDIA_DRIVER_CAPABILITIES
Default
all
Variable: NVIDIA_VISIBLE_DEVICESVariable

Specify the Nvidia GPU device id for transcoding, format will be 'GPU-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'.

Target
NVIDIA_VISIBLE_DEVICES
Variable: CLAIM_SERVERVariable

Specify whether to claim the Plex server on startup.

Target
CLAIM_SERVER
Default
no|yes
Variable: PLEX_CLAIMVariable

Specify the Plex Claim Code to retrieve your Plex Server, Claim Codes can be generated from https://plex.tv/claim - Note Claim Codes expire after 4 minutes.

Target
PLEX_CLAIM
Variable: ENABLE_HEALTHCHECKVariable

Enable or disable healthchecks.

Target
ENABLE_HEALTHCHECK
Default
yes|no
Variable: HEALTHCHECK_COMMANDVariable

The command or script to execute, if not specified then the script healthcheck.sh will be used (process, dns and https checking).

Target
HEALTHCHECK_COMMAND
Variable: HEALTHCHECK_ACTIONVariable

The action to execute if the healthcheck command returns a non zero exit code, if not specified the action will be 'exit 1', if you want the container to exit on failure then set the action to 'kill 1'.

Target
HEALTHCHECK_ACTION
Variable: HEALTHCHECK_HOSTNAMEVariable

The hostname used when performing HTTPS and DNS healthchecking.

Target
HEALTHCHECK_HOSTNAME
Default
google.com
Variable: PUIDVariable

User ID for the running container

Target
PUID
Default
99
Variable: PGIDVariable

Group ID for the running container

Target
PGID
Default
100
Variable: UMASKVariable

UMASK for the running container

Target
UMASK
Default
000