- Minor
Hello,
I created vlans on my network and enabled vlans on my Unraid host.
I want some containers available on iot vlan.
I tried with macvlan custom network and for some containers it's ok. But I have some other containers which are designed for a bridge network.
So I created a custom network with bridge driver on eth0.10
docker network create -d bridge -o com.docker.network.bridge.host_binding_ipv4="192.168.10.50" iotnet
192.168.10.50 is the ip of eth0.10 on Unraid host.
192.168.2.50 is the ip of eth0 on Unraid host
I attached a container to iotnet and in the gui port binding indicate port are mapped on 192.168.2.50.
That's not the case. The container answer on 192.168.10.50 and docker ps indicates:
docker ps | grep lyrion
d8638a28ab5c lmscommunity/lyrionmusicserver:dev "start-container" 2 minutes ago Up 2 minutes 192.168.10.50:3483->3483/tcp, 192.168.10.50:9000->9000/tcp, 192.168.10.50:9090->9090/tcp, 192.168.10.50:3483->3483/udp