Server Version#: plexinc/pms-docker
Player Version#: unknown
I’m using docker compose and it looks like this:
version: “2.1”
services:
plex:
image: plexinc/pms-docker
container_name: plex
network_mode: bridge
volumes:
- /appdata/plex:/config
- /my/media/library/Movies:/Movies
- /my/media/library/Classes:/Classes
- /my/media/library/TV\ Shows:/TV\ Shows
environment:
- PLEX_CLAIM=“nope”
- PUID=${PUID}
- PGID=${PGID}
- TZ=${tx}
ports:
- 32400:32400/tcp
- 3005:3005/tcp
- 8324:8324/tcp
- 32469:32469/tcp
- 1900:1900/udp
- 32410:32410/udp
- 32412:32412/udp
- 32413:32413/udp
- 32414:32414/udp
restart: unless-stopped
When I connect it lets me login to my Plex account, but I really can’t do anything beyond that. I can not add new media libraries or watch any of the media on this device.
I’m new to docker so I was able to figure out today it has something to do with my server not being accessible for the internet. When I use 127.0.0.1 I can get there. So now I’m going to work on the accessibility of the network.
Impossible configuration –
- network_mode: bridge
- PLEX_CLAIM=“nope"
If this is the only Plex instance running – use ‘host’
Should I get rid of PLEX_CLAIM?
What is your networking requirement?
Do you want the single Plex instance, in a docker container on the host or isolated from the host?
Be advised, if using a Debian host, you don’t need Docker for HW tonemapping support.
I want the docker instance to act like a new computer on the network and get its own IP.
I was just doing this more to learn about Docker and an attempt to move away from windows to Ubuntu. But partially I know I won’t last forever so I’m hoping if I do this docker thing right I will just be able to move the container and config files when I change my mind again.
In my command I ran:
docker network create --gateway 192.168.1.1 --subnet 192.168.1.0/24 physical
and then changed my docker-compose to look like this:
version: "2.1"
services:
plex:
image: plexinc/pms-docker
container_name: plex
volumes:
- /appdata/plex:/config
- /library/Movies:/Movies
- /library/Classes:/Classes
- /library/TV\ Shows:/TV\ Shows
environment:
- PUID=${PUID}
- PGID=${PGID}
- TZ=America/Chicago
networks:
physical:
ipv4_address: 192.168.1.120
hostname: dockerplex
restart: unless-stopped
networks:
physical:
external: true
But this ends up kicking me off the network. I want the Plex box to appear as another computer on the network and that is where I’m having issues.
I’m not a docker guy but pretty sure you need to provide more specs / qualifiers to the Networks section so you get a bridged / peer adapter piggyback on the host.