Docker Overlay Networks in Swarm Mode

Let’s learn to implement a Docker overlay network in swarm mode.

For the following examples, we’ll use two Docker hosts, on two separate Layer 2 networks, connected by a router. See the figure below, and note the different networks that each node is on.

Get hands-on with 1200+ tech skills courses.