Quiz Entry - updated: 2026.12.01
Besides bridge and host, which Docker network drivers exist, and when is each used?
overlay (multi-host, Swarm), ipvlan and macvlan (container gets an address directly on the physical LAN), and none (no networking at all).
| Driver | What it does | Typical use |
|---|---|---|
bridge |
Private virtual switch on one host, NAT outwards | The default; single-host apps (user-defined bridges for name resolution) |
host |
Shares the host's network stack | Performance, network tools |
overlay |
A virtual network spanning several Docker hosts (VXLAN tunnels) | Distributed systems, Docker Swarm services talking across hosts |
ipvlan |
Gives the container its own IP on an existing host network adapter, sharing the adapter's MAC address | Integrating into an existing network where extra MACs are not allowed |
macvlan |
Gives the container its own MAC address on the physical adapter, so it appears as a separate machine on the LAN | Legacy apps or monitoring tools that expect to sit directly on the network |
none |
Only a loopback interface | Complete network isolation, such as batch jobs handling sensitive data |
docker network ls always shows the three built-in networks bridge, host and none.
Go deeper:
Docker Docs: Overlay network driver — multi-host networking for Swarm.
Docker Docs: Macvlan network driver — giving containers their own MAC on the LAN.
Docker Docs: IPvlan network driver — L2 and L3 modes that share the parent's MAC.