Fix docker-compose "network ... not found"
Why Docker Compose can't find an external network and how to declare or create it.
Problem
ERROR: Network "proxy" declared as external, but could not be found.Root cause
Your compose file declares a network as `external: true`, but that network has never been created on this host.
Solution
Create the network once
docker network create proxyOr let Compose manage it
networks:
proxy:
driver: bridgeFrequently asked questions
Related fixes
Docker
4 minFix Docker "permission denied while trying to connect to the Docker daemon socket"
The classic Docker socket permission error and the safe way to fix it without chmod 777.
#permissions#socket#linux
Docker
4 minFix Docker "no space left on device"
Reclaim disk used by dangling images, stopped containers, build cache and volumes.
#disk#cleanup#build-cache
Weekly digest
One DevOps fix in your inbox each week
Short, practical, no fluff. Real errors, real fixes — straight from production postmortems.