Plex Media Server on Docker for Raspberry Pi All Models

In this segment, we are going to “Install Plex Media Server on Docker for Raspberry Pi All Models”

What is Plex Media Server?

Plex Media Server on Docker Plex is a client-server media player system and software suite comprising two main components. The Plex Media Server desktop application runs on Windows, macOS, and Linux-compatibles 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 devices, smart TVs, and streaming boxes, a web app, and Plex Home Theater (no longer maintained), as well as many third-party alternatives.

Software Required :

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

You can Buy Raspberry Pi 4 Kit from here

Raspbian OS Installation

  • Download Raspbian OS from Official Website: raspberrypi.org
  • Then write the image to the SD Card using: Etcher
  • Now, Boot the Raspberry Pi with this SD Card, Follow the On-Screen Instructions and then open Terminal.

Enabling SSH in Raspbian OS

  • By default, SSH is disabled in Raspbian. So, we need to enable it from the desktop.
  • Launch the Raspberry Pi Configuration.

Menu –> Preferences –> Raspberry Pi Configuration

  • Navigate to the Interfaces tab
  • Select Enabled next to SSH
  • Click OK.
ssh

Enabling SSH in Raspbian OS through Terminal

  • Enter sudo raspi-config in a terminal window
sudo raspi-config
  • Select Interfacing Options
ssh
  • Navigate to and select SSH
ssh
  • Choose Yes–> Ok –> Finish

Enabling SSH in Raspbian OS through Commands

sudo systemctl enable ssh 
sudo systemctl start ssh

Plex on Docker

Pull Plex Docker Image

  • This command will pull the Plex image for Docker.
docker pull lsioarmhf/plex

To find PUID & PGID type

  • Type ID on the start prompt and you will find UID & GID. As shown in the picture below.
id
id username

Setup Plex

  • Let’s set up the Plex container with the following commands.
docker create \ 
--name=plex \ 
--net=host \ 
-e PUID=1000 -e PGID=1000 \ 
-e TZ=Asia/Kolkata \ 
-v /mnt/PcMac:/config \ 
-v /mnt/PcMac:/data/movies \ 
-v /mnt/PcMac:/data/tvshows \ 
-v /mnt/PcMac:/transcode \ 
lsioarmhf/plex

Start Plex Container

  • Docker start command will be going to start the Plex Container.
docker start "Container Name or ID"

Accessing Plex Media Server

  • Here server local IP Address is your Raspberry Pi Address.
http://server.local.ip.address:32400/web

In conclusion

  • You are ready to use Plex with Docker on your Raspberry Pi.
  • Please share your valuable feedback about the article.
  • Enjoy using Plex 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
Next PostRead more articles

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
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments