Advanced Containers & Virtualization #container-networking#bridge-network#overlay#service-discovery

Container Networking Vocabulary

5 exercises — Master the English vocabulary of container networking: network drivers, port binding, DNS service discovery, VXLAN overlays, and network isolation.

0 / 5 completed
Quick reference: Container networking vocabulary
  • Bridge — single-host; host — shares host stack; overlay — multi-host Swarm; macvlan — direct LAN attachment
  • -p HOST:CONTAINER — port binding; left = host port you connect to, right = container's listening port
  • Embedded DNS (127.0.0.11) — resolves service names to IPs within the same Docker network
  • VXLAN — tunnels L2 Ethernet frames over UDP for cross-host overlay networking
  • Network isolation — separate networks block cross-service traffic without firewall rules
1 / 5

A developer asks: "I need the containers in my app — a web server, an API, and a cache — to communicate with each other on the same Docker host but be isolated from external network traffic unless I explicitly publish a port. Which Docker network driver should I use?"

Which driver is correct for this single-host, internal communication requirement?