Docker Community Forums

Share and learn in the Docker community.

Macvlan connectivity issues


(Am005) #1

I am trying to run a plex container in macvlan mode in Linux. I have created a macvlan network in docker and I linked plex container with it. I am still unable to reach the container from the host or outside.

Create macvlan network:
docker network create -d macvlan -o enp0s31f6 --subnet 10.0.0.0/24 --gateway 10.0.0.1 physical

Attach it to linux network.
sudo ip link add macvlan1 link enp0s31f6 type macvlan mode bridge

Run plex container:
docker run -d --name plex --network=physical --ip=10.0.0.15 -e TZ=“America/Chicago” -e PLEX_CLAIM=“xxxxxxxxxxxx” -h PlexServer -v /data/plex/database:/config -v /data/plex/transcode:/transcode -v /media:/data plexinc/pms-docker

Any tips on what I am doing wrong would be appreciated.