Using network_mode: host doesn't seem to work for my pms-docker install.

Attempting to use pms-docker with this YAML:

[root@farm02 plex]# cat docker-compose.yml
version: ‘2’
services:
plex:
container_name: plex
image: plexinc/pms-docker
restart: unless-stopped
environment:
- TZ=America/New_York
- PLEX_CLAIM=xxxx
network_mode: host
volumes:
- /media/plex/config:/config
- /tmp/transcode:/transcode
- /media/plex:/data

doesn’t seem to pick up the ports needed to make Plex work:

[root@farm02 plex]# docker container ls
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
eb906fa75efc plexinc/pms-docker “/init” 16 minutes ago Up 16 minutes (healthy) plex

As you can see, under the PORTS column, it’s blank…
I can’t access it via my local IP:32400 as well.
Anything else I’m missing?

Port mapping is only required in bridged mode, thus no ports will be listed.
with “network_mode: host” the ports should be bound to all of your docker hosts network interfaces.
When you execute “netstat -tulpn” on you docker host, does it show the plex port?

One more thing: network_mode: host does work differently on Windows and Mac.