March 13, 20188 yr I have a lot of containers in bridge mode communicating fine, but I know they cannot communicate with one we set to eth0/br0 and give an actual IP address to, and up until now this really hasn't been a problem for me but with the addition of a new container I want to have one of my existing bridge mode ones being able to communicate with a new one I set as br0 and gave it an IP. Is this at all possible? I can't really change the bridged one at all because that would mean reconfiguring ~10 other containers all with static IPs which isn't necessary at all and would cause me to have to re-do a lot of configurations as well on all other apps that connect w/ them, etc. TL;DR = Can we allow a container in bridge network mode to communicate with one set as br0 with at static IP assigned to it at all? Thanks!
March 13, 20188 yr Author 1 minute ago, ken-ji said: No, unless you have an extra NIC or have VLAN support on your network. My mother board has 4 onboard NIC ports, could I unbind one of them from the br0 group and use it for the container? Is there any additional config?
March 13, 20188 yr Yes, unbind one, (say eth3). Configure the network settings, but do not add any IP address. <- this is important. Configure the docker network settings, disable br0, and fill in the info for the stand alone network. (subnet, gateway, auto-allocate address-range) Then point your container with static IP to this new docker network. Edited March 13, 20188 yr by ken-ji
Archived
This topic is now archived and is closed to further replies.