O'Reilly logo

Native Docker Clustering with Swarm by Chanwit Kaewkasi, Fabrizio Soppelsa

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

MacVLAN

The new Driver in 1.12 is MacVLAN. MacVLAN is a performant driver designed to allow the Docker network to plumb to the existing VLAN, for example, a corporate one, letting everything to continue to work. There is a scenario where we will gradually migrate workloads from the original VLAN to Docker and MacVLAN will help plumb the Docker cluster to the original VLAN. This will make the Docker networks integrated with the underlay network and the containers will be able to work in the same VLAN.

We could just create a network with the MacVLAN driver and specify the real subnet to the network. We can also specify a range of IP addresses only for the containers. Also, we can exclude some IP addresses, for example, the gateway, from assigning ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required