Interview Prep/Docker/Networking, DNS and Compose

`Error response from daemon: network xxx not found` on `docker compose up`.

IntermediateTroubleshootingNetworking, DNS and Compose
Answer

Likely causes → A network was removed outside Compose while containers still reference it.

Diagnose → docker network ls; docker compose ps -a.

Fix → docker compose down then up -d (or up --force-recreate).

Prevent → Don't delete networks manually; use docker compose down.

All Docker questions Roadmap: Docker & containers

More on Networking, DNS and Compose