Error response from daemon: network bridge not found
Fixes 'network bridge not found' when the default docker bridge network is missing. Use when docker run or docker network inspect fail because the bridge network was deleted or never created. Not for custom network name errors or driver failures.
TL;DR: Restart the docker daemon and it rebuilds the built-in bridge network automatically. Do NOT run docker network create bridge; a user-defined network with that name is not the same thing and will confuse the daemon.
The error
Error response from daemon: network bridge not foundFix it
- Confirm it is really missing:
docker network ls Expected: no bridge row in the list.
- Restart the docker service so the daemon recreates its built-in networks:
sudo systemctl restart docker Expected: service restarts cleanly.
- Verify:
docker network ls Expected: bridge, host, and none are back.
- Re-run your container command.
When this applies
- The default
bridgenetwork was deleted (e.g.docker network prunewith a filter, or manualdocker network rm bridge) - Fresh daemon state corruption after a crash
When this does NOT apply
- A CUSTOM network name not found (recreate that specific network instead)
- "has active endpoints" (different problem)
Versions
All Docker Engine versions.
Why it happens
bridge, host, and none are built-in networks the daemon creates at startup. They can be deleted by overly broad prune/remove commands, and unlike user networks the daemon only recreates them on restart, not on demand.
Edge cases
- Containers attached to the deleted bridge fail to start until the daemon restarts; their config still references the network ID.
docker network prunenever removes built-in networks by default, but explicitdocker network rm bridgedoes.- If the bridge does not come back after restart, check
sudo journalctl -u dockerfor bridge-creation errors (often a conflicting iptables setup).
Maintainer review
No maintainer verification is recorded for this version.
This records the version a maintainer checked. It does not assert that the version is the latest upstream release.