

You can run the container with docker-compose using the command: docker-compose up -d In the file, add the below lines, replacing appropriately version: '2' If this token is not provided, you cannot automatically log in to Plex.Īlternatively, you can use Docker Compose to run the Plex container with bridged networking as below.Ĭreate a docker-compose.yml file vim docker-compose.yml In the above command, obtain the PLEX_CLAIM using the URL.
Plex media server linux how to#
If using Macvlan Networking run the commands below: docker run \įor this guide, I will demonstrate how to run Plex using the bridge(default) networking. Setting up Plex using host and macvlan networking is easier and requires fewer workarounds. macvlan – networking creates a new virtual computer on the network which is the container.Host – This networking uses the IP address of the host running docker such that a container’s networking appears to be the host rather than separate.Bridge – This is the default networking, it creates an entirely new network within the host and runs containers within it.With these methods, you can use 3 networking types: This guide provides two ways how to run the Plex Media Server in Docker Containers i.e directly with docker and using Docker-compose. Sudo sed -i 's/^SELINUX=.*/SELINUX=permissive/g' /etc/selinux/config Step 3 – Run Plex Media Server in Docker Containers On Rhel-based systems, you need to set SELinux in permissive mode for these paths to be accessible.
Plex media server linux install#

How To Install Docker CE on Linux Systems.It can be installed using the dedicated guide below: Sudo dnf -y install curl vim Step 1 – Install Docker and Docker Composeīefore you proceed with this guide, you need Docker installed on your system.
Plex media server linux update#
Update your system and install the required packages using the commands: # On RHEL/CentOS/RockyLinux 8 This guide describes how to run Plex Media Server in Docker Containers.

Supports encrypted connections with multiple user accounts.Offers the parental control functionality.Allows you to easily pick and choose what to share.
