Skip to content
Run the Plex media server as a Docker container on the Raspberry Pi and other armhf machines
Makefile Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


Run the Plex media server and PlexConnect as a Docker container on the Raspberry Pi or similar hardware.


The usage scenario for this is as follows: I have a very old NAS that is unable to run Plex by itself, so I decided to get Plex running on a Raspberry Pi and mount my media library on it via SMB.

However, since I don't want to pollute the host userland, running this in a container lets me keep tabs on it and upgrade it relatively easily in the future.


First, create a network that maps to your LAN on your Docker host:

docker network create -d macvlan \ \ \ \
-o parent=eth0 \

Then start the image (use -d to leave it running as a daemon), specifying which remote SMB shares to mount:

docker run -v /your/data/path:/srv/plex/data \
--cap-add SYS_ADMIN \
--cap-add DAC_READ_SEARCH \
--env PLEX_MOUNT_SHARES="/mnt/local://server1/remote //server1/folderA //server2/folderB" \
--net=lan -it rcarmo/plex:armhf

Note that:

  • You can specify local:remote pairs to mount a folder
  • A remote share called folder will be mounted on /mnt/folder


  • An armhf machine like the Raspberry Pi 2/3 or an ODROID development board.
  • A Linux distribution that can run Docker (like Ubuntu 16.04.2, which is what I use) with a kernel that supports the macvlan network type.

PlexConnect Setup on Apple TV 3 (up to 7.2.2, at least)

  • Go to the Apple TV settings menu
  • Set the DNS IP address to that of this container
  • Select General then scroll the cursor down to highlight "Send Data To Apple" and set to "No".
  • With "Send Data To Apple" highlighted, press "Play" (not the normal Select button) and you will be prompted to add a profile.
  • Enter


  • 2017-09-21 Updated Plex to
  • 2017-09-17 Updated Plex to
  • 2017-09-02 Updated Plex to
You can’t perform that action at this time.