From the course: Docker Certified Associate (DCA) Cert Prep

Unlock this course with a free trial

Join today to access over 25,300 courses taught by industry experts.

Network drivers

Network drivers

Now, let's deep dive into network drivers. Docker's networking subsystem is based on the network drivers. Several drivers exist by default and provide core networking functionality. Bridge is the default network driver when you do not specify any driver in the container. The other drivers are Host, None, Overlay, and Mac VLAN. The Bridge host and non-driver are available in the Docker community, whereas Docker Enterprise provides the other two advanced network drivers named Overlay and MagVLAN. The Bridge networking driver is the first driver on our list. It's simple to understand, simple to use, and simple to troubleshoot, which makes it a good networking choice for developers and those new to Docker. The bridge driver creates a private network internal to the host so the containers on this network can communicate. External access is granted by exposing ports to containers. Docker secures the network by managing rules that block connectivity between different docker networks. Behind…

Contents