plexinc/pms-docker builds a beta Plex by default and treats three settings as first run only
Plex Media Server Docker repo, for all your PMS docker needs.
At a glance
- What is it?
- plexinc/pms-docker is the official container for Plex Media Server, built from Ubuntu with s6-overlay as the entrypoint and three compose templates for the three networking modes. Two details decide whether it fits your setup: the image's default build tag is the beta channel, and the hostname, timezone and claim token are read once and then ignored, so changing them later requires a clean configuration directory.
- Who is it for?
- This image is the right choice if you want the vendor's own container rather than a community rebuild, and you are comfortable with host or macvlan networking, since the page is direct that those two have fewer problems than bridge.
- Can I use it commercially?
- The repository metadata does not identify a licence. Check the project’s published terms and any component-specific licences before reuse.
- Is it still maintained?
- Yes. The repository last received commits 10 days ago.
- What is it written in?
- Mainly Go Template, according to GitHub's language statistics.
Answers come from the project's GitHub data, last synced on November 24, 2026, and from our analysis. They are not legal advice.
Star history
- plexinc/pms-docker4,053 ★ · +24
| Repository | 2026-09-24 | 2026-11-24 |
|---|---|---|
| plexinc/pms-docker | 4k | 4.1k |
24 Stars in the last 61 days, measured from the daily GitHub snapshot. Compare with other projects
Editorial analysis
The default build tag is beta and the releases are chart versions
The build is driven by three arguments near the end of the Dockerfile: a distribution argument defaulting to `debian`, a tag argument defaulting to `beta`, and an empty URL argument, followed by a single call to a script that fetches and installs the Plex binary. So an image built from this Dockerfile without overriding the tag gets a beta build of Plex, and the repository does not publish image releases you could pin to instead. What it does publish are Helm chart releases: the three most recent are helm-chart-1.9.0 and helm-chart-1.8.0 on 2026-09-07 and helm-chart-1.7.1 on 2026-08-28, where two chart versions landed six hours apart. The default branch was last pushed on 2026-09-22. For anyone pinning this in production, the practical consequence is that the image tag and the chart version move on separate tracks and only one of them has a release history here.
The entrypoint is s6-overlay, downloaded from a pinned release at build time
The container's entrypoint is `/init`, which is the s6-overlay init system, and the overlay is fetched during the build from a tagged GitHub release with the version held in a build argument at v2.2.0.3. The architecture mapping is written out explicitly: an arm v7 platform gets the armhf build, amd64 gets its own, and arm64 gets aarch64. The archive is extracted twice, once to the filesystem root with the bin directory excluded, then again to pull only the bin directory into `/usr`, which is how the overlay separates its binaries from the rest. The base is Ubuntu 24.04 with a noninteractive frontend and a C.UTF-8 locale, and the build deletes the base image's `ubuntu` account, creating a `plex` user whose home is `/config` and whose shell is `/bin/false`. Two directories are created, `/transcode` and `/data`, and the runtime declares `/config` and `/transcode` as volumes with ownership changing applied on start and home pointed at the config directory. The healthcheck runs every five seconds with a two second timeout and twenty retries.
Three parameters are read once and then ignored
The parameters section ends with a rule that is easy to miss and expensive to discover late. The recommended parameters are the container hostname, the timezone and the claim token, and every parameter the container takes is treated as a first run parameter only: all other parameters are ignored on subsequent runs of the server. So the timezone you set at install time is the timezone the server keeps, and the claim token that lets the server obtain a real server token is consumed once. The hostname parameter sets the name inside the container and is explicitly not needed in host networking, where the container shares the host's identity. For a container that people rebuild whenever the upstream server updates, this is the mechanism that decides whether an upgrade silently keeps your configuration or starts fresh, and it is why changing a timezone means editing the stored configuration rather than passing a different value.
Bridge mode is the one the page steers you away from, and explains why
Three networking modes are documented, with bridge as the default, and the page says outright that host and macvlan are the easier setups with the fewest issues, while some setups only allow bridge and that Plex can be made to work there but it is more complicated. The bridge variant publishes eight ports and adds an advertise address:
docker run \
-d \
--name plex \
-p 32400:32400/tcp \
-p 8324:8324/tcp \
-p 32469:32469/tcp \
-p 1900:1900/udp \
-p 32410:32410/udp \
-p 32412:32412/udp \
-p 32413:32413/udp \
-p 32414:32414/udp \
-e TZ="<timezone>" \
-e PLEX_CLAIM="<claimToken>" \
-e ADVERTISE_IP="http://<hostIPAddress>:32400/" \
-h <HOSTNAME> \
-v <path/to/plex/database>:/config \
-v <path/to/transcode/temp>:/transcode \
-v <path/to/media>:/data \
plexinc/pms-dockerPort 32400 on TCP is the primary one and is required; the rest are described as the complete set of other ports Plex uses, with a support article linked for which of them you may need.
The bridge variant instead maps port 32400 on TCP as the primary port, plus 8324 and 32469 on TCP and 1900, 32410, 32412, 32413 and 32414 on UDP, and sets an advertise address pointing at the host on port 32400. Two extra steps follow from that mode. Remote access requires setting up port forwarding on your own router to reach the advertised address, and if you change the external port you must also configure it in the server's remote access settings, because the server sits behind two routers and cannot forward anything by itself. And on a Plex Pass subscription you should set the LAN networks preference to your LAN's ranges in the same syntax as the allowed networks variable, for example a pair of class C and class B ranges, so bandwidth controls treat those addresses as local.
The configuration mount needs file locking, and network shares corrupt it
The volume documentation is where this page is most useful, because it is specific about failure. The config directory is where the server stores its data, and the page warns that it can reach the hundreds of gigabytes for large libraries or when index files are generated. The critical constraint is the one in bold: the underlying filesystem has to support file locking, which is not enabled by default on remote filesystems such as NFS and SMB. The page names one exception, the 9PFS filesystem used by FreeNAS Corral, says it is known to work, and then says that the vast majority will result in database corruption and to use a network share at your own risk. The transcode mount is the temporary storage for transcoder files, sized in tens of gigabytes, and if you do not mount one the container's own storage is used instead, which means a long transcode can fill the writable layer. The media mount is left entirely to your own directory layout.
Three compose templates and an unRAID template ship with the repository
For docker-compose users the repository ships three template files rather than working examples, one each for bridge, host and macvlan networking, described as files to modify for your own use. That is the packaging philosophy of this repository in one sentence: the official container plus templates, with the decisions left to you. The same pattern shows in the rest of the tree, where an XML file for unRAID sits alongside the compose templates, and a charts directory holds the Helm chart for a Kubernetes deployment. There is a separate root directory that is copied wholesale into the image at build time, which is where the entrypoint scripts, the binary install script and the healthcheck script live rather than in the repository root. The image directory holds artwork. There is also a code of conduct file. What the root does not contain is a licence file, and the repository's licence metadata is empty, which is worth resolving before you redistribute the image or the templates.
The lint target runs two of the four checks the Makefile defines
The build file declares four linting targets and wires two of them into the aggregate. `lint` depends on the chart lint and the yaml lint, and does not depend on the documentation lint or the Kubernetes schema check. The chart lint runs a chart testing tool against a configuration file under the workflows directory, the yaml lint runs a yaml linter against a `.yamllint` config at the repository root that the root listing does not contain, and the schema check renders the chart with Helm using a CI values file and pipes the output into a Kubernetes schema validator pinned to Kubernetes 1.33.0 in strict mode with tab separated output. The documentation lint runs a Helm docs generator in strict mode against the chart directory, and a separate docs target runs the same generator without it. The file also groups its phony declarations by category, and the two targets left out of the lint chain are the two that are not declared phony at all, which means they are the two most likely to be skipped by accident.
Editorial conclusion
This image is the right choice if you want the vendor's own container rather than a community rebuild, and you are comfortable with host or macvlan networking, since the page is direct that those two have fewer problems than bridge. It is a poor choice if your library lives on a network share, because the configuration database needs file locking that NFS and SMB do not enable by default and the page expects corruption otherwise, or if you want to change the claim token or the timezone after the first run, since those are read once. Before you deploy, check four things. Whether you will run the beta channel, because the image's default build tag is `beta` and the repository's own releases are Helm chart versions rather than image versions. Which networking mode you can live with, and if it is bridge, whether you can forward ports on your own router. Whether the filesystem holding `/config` supports file locking. And what the container will manage as its own user, since the build deletes the base image's default user and creates a `plex` account with `/config` as its home.
Frequently asked questions
How do I claim a Plex Media Server Docker image?
The container takes the claim token through the PLEX_CLAIM environment variable, which is the claim token the server uses to obtain a real server token. The page lists it with the container hostname and the timezone among the parameters it recommends, and treats all three as first run parameters only, so later runs ignore them.
Which Docker networking modes does plexinc/pms-docker document?
Three: bridge, which is the default, plus host and macvlan. The page says host and macvlan are the easier setups with the fewest issues, and the macvlan example uses a network named physical, which it notes is likely to be different on your machine.
Can I put the Plex database on a network share?
The page advises against it. The underlying filesystem has to support file locking, which remote filesystems such as NFS and SMB do not enable by default, and while the 9PFS filesystem on FreeNAS Corral is known to work, the vast majority of network shares will result in database corruption.
What ports does the plexinc/pms-docker image expose?
Port 32400 on TCP is the primary port and is required, joined by 8324 and 32469 on TCP, and 1900, 32410, 32412, 32413 and 32414 on UDP. Under bridge networking those are published one to one, and remote access then needs port forwarding on your own router.
How is the plexinc/pms-docker image built?
From Ubuntu 24.04, with s6-overlay as the entrypoint, fetched at build time from a pinned release and mapped per architecture. The Plex binary is installed by a script using build arguments for the distribution and the tag, and the tag argument defaults to beta, so a default build gives you a beta build of the server.
Official sources
Add this badge to your README
If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.
[](https://hysenlabs.com/projects/plexinc-pms-docker)Star history chart for your README
[](https://hysenlabs.com/projects/plexinc-pms-docker)Was this useful?