Tag Archives: Error starting daemon: Error initializing network controller: list bridge addresses failed: no available network

[Solved] Docker error: Error starting daemon: Error initializing network controller: list bridge addresses failed: no available network

Errors:
1.# systemctl restart docker

Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details.

2.# systemctl status docker.service

● docker.service - Docker Application Container Engine
Loaded: loaded (/usr/lib/systemd/system/docker.service; enabled; vendor preset: disabled)
Active: failed (Result: start-limit) since Thu 2021-11-25 18:12:33 CST; 1min 3s ago
Docs: https://docs.docker.com
Main PID: 35104 (code=exited, status=1/FAILURE)
Nov 25 18:12:33 xx:xx:xx:xx systemd[1]: Failed to start Docker Application Container Engine.
Nov 25 18:12:33 xx:xx:xx:xx systemd[1]: Unit docker.service entered failed state.
Nov 25 18:12:33 xx:xx:xx:xx systemd[1]: docker.service failed.
Nov 25 18:12:33 xx:xx:xx:xx systemd[1]: docker.service holdoff time over, scheduling restart.
Nov 25 18:12:33 xx:xx:xx:xx systemd[1]: Stopped Docker Application Container Engine.
Nov 25 18:12:33 xx:xx:xx:xx systemd[1]: start request repeated too quickly for docker.service
Nov 25 18:12:33 xx:xx:xx:xx systemd[1]: Failed to start Docker Application Container Engine.
Nov 25 18:12:33 xx:xx:xx:xx systemd[1]: Unit docker.service entered failed state.
Nov 25 18:12:33 xx:xx:xx:xx systemd[1]: docker.service failed.

3.# journalctl -xe

Nov 25 18:58:43 xx:xx:xx:xx dockerd[30363]: time="2021-11-25T18:58:43.204191101+08:00" level=info msg="scheme \"unix\" not registered, fallback to default scheme" modu
Nov 25 18:58:43 xx:xx:xx:xx dockerd[30363]: time="2021-11-25T18:58:43.204305943+08:00" level=info msg="ccResolverWrapper: sending new addresses to cc: [{unix:///var/ru
Nov 25 18:58:43 xx:xx:xx:xx dockerd[30363]: time="2021-11-25T18:58:43.204335414+08:00" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc
Nov 25 18:58:43 xx:xx:xx:xx dockerd[30363]: time="2021-11-25T18:58:43.204428835+08:00" level=info msg="pickfirstBalancer: HandleSubConnStateChange: 0xc42053b820, CONNE
Nov 25 18:58:43 xx:xx:xx:xx dockerd[30363]: time="2021-11-25T18:58:43.204743716+08:00" level=info msg="pickfirstBalancer: HandleSubConnStateChange: 0xc42053b820, READY
Nov 25 18:58:43 xx:xx:xx:xx dockerd[30363]: time="2021-11-25T18:58:43.204781727+08:00" level=info msg="Loading containers: start."
Nov 25 18:58:43 xx:xx:xx:xx dockerd[30363]: Error starting daemon: Error initializing network controller: list bridge addresses failed: no available network
Nov 25 18:58:43 xx:xx:xx:xx systemd[1]: docker.service: main process exited, code=exited, status=1/FAILURE
Nov 25 18:58:43 xx:xx:xx:xx systemd[1]: Failed to start Docker Application Container Engine.
-- Subject: Unit docker.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
…………

Solution:
Inout in Teminal:
ip link add name docker0 type bridge
ip addr add dev docker0 172.17.0.1/16
then re-excetue
1)systemctl start docker
2)docker info | grep 'Server Version'

3)systemctl enable docker
Done!