Introduction
Docker network drivers control how containers communicate with each other and the outside world. They solve the problem of connecting containers in different ways depending on your needs.
When you want containers on the same host to communicate privately using a bridge network.
When you want a container to share the host's network stack directly for better performance.
When you need containers across multiple hosts to communicate securely using an overlay network.
When you want to disable all networking for a container for security or testing.