docker network
CautionNetworks
docker network ls
Lists/inspects/creates container networks; triage connectivity.
Examples
docker network inspect bridgeInspect a network
Syntax
docker network ls | inspect <name> | create <name>
Before you run it
create/rm change connectivity.
Used when you see
Containers can't talk to each other
1
See the whole flow →Confirm both containers share a networkDNS by name only works on user-defined networks.
Related commands
- docker inspectInspect metadata
The same reference, with no signal at all
Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.
Get it free on the App Store