Plex Media Server on OMV 5 inside Docker with Portainer using RPi 4

In this segment, we are going to show you “How to Install Plex Media Server on OpenMediaVault 5 inside Docker with Portainer using Raspberry Pi 4

What is Plex Media Server?

Plex is a client-server media player system and software suite comprising two main components. The Plex Media Server desktop application runs on WindowsmacOS, and Linux, including some types of NAS devices. 


The server desktop application organizes video, audio, and photos from a user’s collections and online services, enabling the players to access and stream the contents. There are also official clients available for mobile devicessmart TVs, and streaming boxes, a web app, and Plex Home Theater (no longer maintained), as well as many third-party alternatives. Plex offers a paid-subscription service called Plex Pass, with additional features, including synchronization with mobile devices, cloud storage integration, metadata fetching for music, support for multiple usersparental controls, live TV and DVR, trailers, extras, and cross-selling offers.

Source /> Wikipedia


Full credit goes to the Linux server.

OpenMediaVault Versions :

OpenMediaVault 5 Installation Guide :

Software Required :

Equipment Required Optional
Raspberry Pi Raspberry Pi 4 Case
SD_Card SD Card Keyboard
Ethernet Ethernet Cable Mouse
Charger Power Adapter    
HDD External HDD    
Buy Now

You can Buy Raspberry Pi 4 Kit from here

Docker Compose

version: "2"
    image: linuxserver/plex
    container_name: plex
    network_mode: host
      - PUID=1000
      - PGID=1000
      - VERSION=docker
      - UMASK_SET=022 #optional
      - PLEX_CLAIM= #optional
      - /path/to/library:/config
      - path/to/tvseries:/tv
      - /path/to/movies:/movies
    restart: unless-stopped

How to find PUID & PGID

  • However, to find PUID and PGID we can use the below-given command.
id name of the user


Plex Container Configuration

  • First, we need to navigate to Containers and then click on Add container.
  • Secondly, fill the details as mentioned below in the picture, Choose a name for your container and image name as linuxserver/plex
  • Always pull the image option must be checked, if the image is not already downloaded.

Plex Media Server

Click to ZOOM

  • In the volume section, we need to configure the path for config, Movies, TV, Music, and Photos folders then bind these folders to our desired path.

Plex Media Server

Click to ZOOM

  • After that we need to configure Environment Variables as mentioned below in the picture.

Plex Media Server

Click to ZOOM

  • In this section we need to select unless stopped.

wordpressClick to Zoom

Once the configuration complete we can click on Deploy the container and when the status of our container is running we can go ahead and access it.

Access Plex Web Interface

  • To access the Plex web interface we need to type the OpenMediaVault IP Address:32400/web
  • After that follow the on-screen instructions to configure Plex or you can refer to our video.

In conclusion, you are all set to use Raspberry Pi 4 as Plex Media Server on OpenMediaVault 5 with the help of Docker. If you face any issue regarding this article please share your thoughts. Enjoy using Plex Media Server on Docker using Openmediavault. Smile (.”_”.)

Please check out my other articles:

How to install OpenMediaVault 5 on Raspberry Pi All ModelsOpenMediaVault 5 on Raspberry Pi

OpenMediaVault 5 NAS Server on Raspberry Pi 4OpenMediaVault 5 on Raspberry Pi

Did you find us helpful?

Subscribe our YouTube Channel
Like us on Facebook facebook
Support us on Patreon Patreon
Share This Article with others

Harish Kumar

As a founder of the PcMac YouTube channel and website, Our goal is to provide Free Technical help to people and spread knowledge to everyone.
0 0 vote
Article Rating
Notify of
Newest Most Voted
Inline Feedbacks
View all comments
3 months ago

Perfect install once again ,Ive been following all you OMV5 installe
s and they just work perfectly thanks.