Non-Native Docker Networks
In the final section of this chapter, we will discuss non-native Docker networks. Aside from the native Docker network drivers that are available, Docker also supports custom networking drivers that can be written by users or downloaded from third parties via Docker Hub. Custom third-party network drivers are useful in circumstances that require very particular network configurations, or where container networking is expected to behave in a certain way. For example, some network drivers provide the ability for users to set custom policies regarding access to internet resources, or other defining whitelists for communication between containerized applications. This can be helpful from a security, policy, and auditing perspective.
In the following exercise, we will download and install the Weave Net driver and create a network on a Docker host. Weave Net is a highly supported third-party network driver that provides excellent visibility into container mesh...