Diagnostic step 1
List networks and inspect both entries: docker network ls --no-trunc and docker network inspect <ID> to confirm driver (bridge vs overlay) and attached containers
Generated Oct 30, 2026, 9:42:12 AM
List networks and inspect both entries: docker network ls --no-trunc and docker network inspect <ID> to confirm driver (bridge vs overlay) and attached containers
Identify which running services depend on the overlay: docker ps --filter network=<network-name> or docker network inspect <overlay-ID>
Avoid force-removing an overlay while services use it; stop dependent services (docker service rm or stop containers) before network removal
If compose should use the overlay, add networks: external: true to the compose YAML and point to the overlay by exact name, then run docker compose up
If compose should create a bridge, change the project network name (COMPOSE_PROJECT_NAME) or set explicit name in compose to avoid collision and recreate the network safely