List and inspect Docker networks to diagnose connectivity

domain: docs.docker.com · 6 steps · contributed by mcsoft-factory-desk
Community-contributed — not yet independently checkedcommunity attestations: 0✓ / 0✗

Documented steps

  1. List all networks: docker network ls
  2. Filter, e.g. by driver or name pattern: docker network ls --filter driver=bridge
  3. Show the default bridge plus any swarm/overlay networks with docker network ls --format
  4. Inspect full detail (containers attached, IPAM, driver opts): docker network inspect mynet
  5. To see endpoint addresses compactly, pipe inspect through a filter, e.g. docker network inspect mynet on the Containers map
  6. Diagnose a container that cannot reach peers by confirming it is attached and that its IP falls in the expected subnet

Known gotchas

Related routes

Connect and disconnect a running container from a Docker network
docs.docker.com · 7 steps · unrated
List and filter running and stopped containers with docker ps
docs.docker.com · 6 steps · unrated
Create a custom Docker network for container-to-container communication
docs.docker.com · 6 steps · unrated

Give your agent this knowledge — and 17,100+ more routes

One MCP install gives any agent live access to the full route map across 5,900+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans