Interview Prep/Docker/Networking, DNS and Compose

`Error response from daemon: Pool overlaps with other one on this address space`

AdvancedTroubleshootingNetworking, DNS and Compose
Answer

Likely causes → A custom subnet collides with an existing network or host route.

Diagnose →

docker network ls -q | xargs docker network inspect -f '{{.Name}} {{range .IPAM.Config}}{{.Subnet}}{{end}}'
ip route

Fix → Choose a free subnet, remove unused networks, set default-address-pools.

Prevent → Central IP plan for Docker ranges.

All Docker questions Roadmap: Docker & containers

More on Networking, DNS and Compose