Summary
In this chapter, we looked at the many facets of networking in relation to microservices and Docker containers. Docker comes equipped with numerous drivers and configuration options that users can use to tune the way their container networking works in almost any environment. By deploying the correct networks and the correct drivers, powerful service mesh networks can quickly be spun up to enable container-to-container access without egressing any physical Docker hosts. Containers can even be created that will bind to the host networking fabric to take advantage of the underlying network infrastructure.
Quite arguably the most powerful network feature that can be enabled in Docker is the ability to create networks across clusters of Docker hosts. This can allow us to quickly create and deploy horizontal scaling applications between hosts for high availability and redundancy. By leveraging the underlay network, overlay
networks within swarm clusters allow containers to directly...