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 on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).
Get it free on the App Store