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 \ --subnet=192.168.xxx.0/24 \ --gateway=192.168.xxx.254 \ --ip-range=192.168.xxx.128/25 \ -o parent=eth0 \ lan
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
- You can specify
local:remotepairs to mount a folder
- A remote share called
folderwill be mounted on
armhfmachine 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
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.
- 2017-09-21 Updated Plex to 22.214.171.12472
- 2017-09-17 Updated Plex to 126.96.36.19949
- 2017-09-02 Updated Plex to 188.8.131.5239