This chapter describes practical examples of Docker networking, spanning multiple containers over multiple hosts. We will cover the following topics:
Introduction to Pipework
Multiple containers over multiple hosts
Towards scaling networks – introducing Open vSwitch
Networking with overlay networks – Flannel
Comparison of Docker networking options
Introduction to Pipework
Pipework lets you connect together containers in arbitrarily complex scenarios.
In practical terms, it creates a legacy Linux bridge, adds a new interface to the container, and then attaches the interface to that bridge; containers get a network segment on which to communicate with each other.