Multi Host : Docker Networking
Say we have two hosts, how docker containers can connect to each other in this Docker cluster if both interfaces:
have the same IP address in each host ?
One Solution collect form web for “Multi Host : Docker Networking”
Those networks are bridge networks that only exist on a single docker host. Containers assigned to only these networks will not be able to talk to containers on other hosts.
Multi-host networking is done with an “overlay” network and will show up with that driver instead of “bridge”. The overlay driver relies on a global key/value store, such as consul, etcd, and it’s now built into swarm with the raft backend. Assigning IP’s is done by referencing this global key/value store so they should always be unique.
For more details, see: https://docs.docker.com/engine/userguide/networking/get-started-overlay/