thinQmaster Virtual testing partner Adaptive practice exams that find your weak spots and drill them. Every answer explained. From $69
Enroll

thinQmaster

Find your exam

Five questions free, before you decide.

Step 1 · choose a vendor

In one of our camps? Your practice exams come with the tuition — they are on your study page already.

DevOps & Automation · Intermediate

Docker Network Driver

The networking mode for Docker containers: bridge, host, overlay, macvlan, ipvlan, or none.

Definition

The default bridge network NATs containers behind docker0; user-defined bridges add DNS name resolution between containers. host shares the host network stack, overlay spans Swarm nodes using VXLAN, and none disables networking.

Example

docker network create appnet && docker run --network appnet --name db postgres

Exam tip

Containers on user-defined bridge networks resolve each other by name; the default bridge does not.

Related terms