Use overlay sites

The network that is overlay produces a distributed community among multiple Docker daemon hosts.

This system sits together with (overlays) the host-specific sites, enabling containers linked to it (including swarm service containers) to communicate firmly. Docker transparently handles routing of each and every packet to and through the proper Docker daemon host plus the destination container that is correct.

Whenever you initialize a swarm or join a Docker host to a swarm that is existing two brand brand brand new networks are made on that Docker host: