New batchZero to DevOps starts 29 Nov · limited seatsReserve your seat
Cheat sheetsDockerDocker
ProSheet 06 of 11

Docker Networks

A comprehensive developer cheatsheet covering Docker networking fundamentals, featuring essential CLI commands and operational workflows for managing network drivers, creating custom bridge networks, and connecting or isolating containers.

Understanding Docker Networks

Network Drivers

DriverPurposeUse Case
bridgeDefault network for containersSingle-host communication
hostContainer uses host's networkPerformance, network troubleshooting
overlayMulti-host networkingSwarm, Kubernetes
macvlanAssign MAC addresses to containersLegacy applications
noneNo networkingIsolated containers
ipvlanIPvlan driverHigh-performance networking

Default Networks

When Docker is installed, it creates three default networks:

bash
$ docker network ls
NETWORK ID     NAME      DRIVER    SCOPE
abc123def456   bridge    bridge    local
def456789abc   host      host      local
789abc123def   none      null      local

The rest of this sheet is locked7 Pro sheets unlock together, across every toolEveryPro sheet, every toolLifetimeone payment, no renewalNewsheets included as they shipOne-time payment · lifetime access
Docker cheat sheet: Docker Networks | InfraThrone DevOps Park