Quantcast
Channel: Linux — Plex Forums
Viewing all articles
Browse latest Browse all 7311

Plex Server on Docker (Ubuntu 16.10 host)

$
0
0

I'm running PMS in a Docker container from the official Docker plexpass image (plexinc/pms-docker:plexpass) running on Ubuntu 16.10 host with all the latest updates.

Everything works fine with networking set to host, but I want to run multiple instances with different IP's and DNS settings so I tried to set this up with a macvlan. When using the macvlan I canh ping plex from another computer on the same LAN but I cannot connect to the web interface of the plex server (again no such issues running with host network). I've tried the various things suggested on forums including setting port mapping, advertising IP etc that seem to be intended more for the default bridge networking, but they haven't helped. Does anyone have any ideas? or more especially, examples of how they set this up to get this working over a macvlan ? My goal is to have the containers behaving just like they were another computer on the network getting their IP's, DNS and gateway settings from my dedicated raspberry pi which runs my instance of DNSMASQ.

These are the commands I've used to set this up:
The network:
docker network create -d macvlan --subnet=192.168.2.0/24 --gateway=192.168.2.1 -o parent=enp0s25 mac_net
The container:
docker run -d --name plexa --net mac_net --ip=192.168.2.201 -e ADVERTISE_IP="http://192.168.2.201:32400/" -e TZ="Americas/New_York" -e PLEX_CLAIM="claim-EZZ4t1XwYtfJZTHfkRZF" -h plexa -v ~/config:/config -v ~/temp:/transcode -v /mnt/video:/video plexinc/pms-docker:plexpass

Note: I cannot access the web interface via a browser on the host computer either, but I believe that at least is correct behavior for a macvlan.


Viewing all articles
Browse latest Browse all 7311

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>