docker not starting (v. 6.34 rpi4)

Having issues with your DietPi installation or found a bug? Post it here.
Post Reply
yaslaw
Posts: 16
Joined: Wed Jan 30, 2019 7:58 pm

docker not starting (v. 6.34 rpi4)

Post by yaslaw »

Hi,

I have a fresh installation of dietpi, and everything works fine except docker that is not starting. Any idea? I assume that this can be related to kernel version that is not compatible with current docker ?

Code: Select all

-- Jednostka UNIT pomyślnie przeszła do stanu „dead” (martwego).
gru 24 23:26:28 DietPi systemd[1]: mnt-dietpi_userdata-docker\x2ddata-overlay2-check\x2doverlayfs\x2dsupport304127676-merged.mount: Succeeded.
-- Subject: Jednostka się powiodła
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Jednostka mnt-dietpi_userdata-docker\x2ddata-overlay2-check\x2doverlayfs\x2dsupport304127676-merged.mount pomyślnie przeszła do stanu „dead” (martwego).
gru 24 23:26:28 DietPi systemd[1251]: mnt-dietpi_userdata-docker\x2ddata-overlay2-check\x2doverlayfs\x2dsupport304127676-merged.mount: Succeeded.
-- Subject: Jednostka się powiodła
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Jednostka UNIT pomyślnie przeszła do stanu „dead” (martwego).
gru 24 23:26:28 DietPi systemd[2158]: mnt-dietpi_userdata-docker\x2ddata-overlay2-check\x2doverlayfs\x2dsupport304127676-merged.mount: Succeeded.
-- Subject: Jednostka się powiodła
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Jednostka UNIT pomyślnie przeszła do stanu „dead” (martwego).
gru 24 23:26:29 DietPi dockerd[4085]: time="2020-12-24T23:26:29.093468320+01:00" level=warning msg="Your kernel does not support cgroup memory limit"
gru 24 23:26:29 DietPi dockerd[4085]: time="2020-12-24T23:26:29.093646191+01:00" level=warning msg="Your kernel does not support CPU realtime scheduler"
gru 24 23:26:29 DietPi dockerd[4085]: time="2020-12-24T23:26:29.093677728+01:00" level=warning msg="Your kernel does not support cgroup blkio weight"
gru 24 23:26:29 DietPi dockerd[4085]: time="2020-12-24T23:26:29.093707098+01:00" level=warning msg="Your kernel does not support cgroup blkio weight_device"
gru 24 23:26:29 DietPi dockerd[4085]: failed to start daemon: Error initializing network controller: list bridge addresses failed: PredefinedLocalScopeDefaultNetworks List: [172.17.0.0/16 172.18.0.0/16 172.19.0.0/16 172.20.0.0/16 172.21.0.0/16 172.22.0.0/16 172.23.0.0/16 172.24.0.0/16 172.25.0.0/16 172.26.0.0/16 172.27.0.0/16 172.28.0.0/16 172.29.0.0/16 172.30.0.0/16 172.31.0.0/16 192.168.0.0/20 192.168.16.0/20 192.168.32.0/20 192.168.48.0/20 192.168.64.0/20 192.168.80.0/20 192.168.96.0/20 192.168.112.0/20 192.168.128.0/20 192.168.144.0/20 192.168.160.0/20 192.168.176.0/20 192.168.192.0/20 192.168.208.0/20 192.168.224.0/20 192.168.240.0/20]: no available network
gru 24 23:26:29 DietPi systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILURE
-- Subject: Proces jednostki zakończył działanie
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Proces ExecStart= należący do jednostki docker.service zakończył działanie.
--
-- Kod wyjścia procesu: „exited”, jego stan wyjścia: 1.
gru 24 23:26:29 DietPi systemd[1]: docker.service: Failed with result 'exit-code'.
-- Subject: Jednostka się nie powiodła
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Jednostka docker.service przeszła do stanu „failed” (niepowodzenia)
-- z wynikiem „exit-code”.
gru 24 23:26:30 DietPi sudo[4135]:   dietpi : TTY=pts/0 ; PWD=/home/dietpi ; USER=root ; COMMAND=/bin/systemctl status dock
er.service
gru 24 23:26:30 DietPi sudo[4135]: pam_unix(sudo:session): session opened for user root by dietpi(uid=0)
gru 24 23:26:30 DietPi sudo[4135]: pam_unix(sudo:session): session closed for user root
gru 24 23:26:31 DietPi systemd[1]: docker.service: Service RestartSec=2s expired, scheduling restart.
gru 24 23:26:31 DietPi systemd[1]: docker.service: Scheduled restart job, restart counter is at 3.
-- Subject: Zaplanowano automatyczne ponowne uruchamianie jednostki
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- W wyniki skonfigurowania ustawienia Restart= zaplanowano automatyczne ponowne
-- uruchamianie jednostki docker.service.
gru 24 23:26:31 DietPi systemd[1]: Stopped Docker Application Container Engine.
-- Subject: Ukończono zadanie zatrzymania dla jednostki docker.service
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Ukończono zadanie zatrzymania dla jednostki docker.service.
--
-- Identyfikator zadania: 2121, wynik zadania: done.
gru 24 23:26:31 DietPi systemd[1]: docker.service: Start request repeated too quickly.
gru 24 23:26:31 DietPi systemd[1]: docker.service: Failed with result 'exit-code'.
-- Subject: Jednostka się nie powiodła
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Jednostka docker.service przeszła do stanu „failed” (niepowodzenia)
-- z wynikiem „exit-code”.
gru 24 23:26:31 DietPi systemd[1]: Failed to start Docker Application Container Engine.
-- Subject: Zadanie uruchamiania dla jednostki docker.service się nie powiodło
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Zadanie uruchamiania dla jednostki docker.service zostało ukończone z niepowodzeniem.
--
-- Identyfikator zadania: 2121, wynik zadania: failed.
gru 24 23:26:31 DietPi systemd[1]: docker.socket: Failed with result 'service-start-limit-hit'.
-- Subject: Jednostka się nie powiodła
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Jednostka docker.socket przeszła do stanu „failed” (niepowodzenia)
-- z wynikiem „service-start-limit-hit”.
gru 24 23:26:33 DietPi dhclient[444]: No DHCPOFFERS received.
gru 24 23:26:33 DietPi dhclient[444]: No working leases in persistent database - sleeping.
gru 24 23:26:34 DietPi sudo[4141]:   dietpi : TTY=pts/0 ; PWD=/home/dietpi ; USER=root ; COMMAND=/bin/systemctl status dock
er.service
gru 24 23:26:34 DietPi sudo[4141]: pam_unix(sudo:session): session opened for user root by dietpi(uid=0)
gru 24 23:26:34 DietPi sudo[4141]: pam_unix(sudo:session): session closed for user root
gru 24 23:26:35 DietPi dhclient[444]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
gru 24 23:26:43 DietPi sudo[4155]:   dietpi : TTY=pts/0 ; PWD=/home/dietpi ; USER=root ; COMMAND=/bin/journalctl -xe
gru 24 23:26:43 DietPi sudo[4155]: pam_unix(sudo:session): session opened for user root by dietpi(uid=0)
User avatar
Joulinar
Posts: 4113
Joined: Sat Nov 16, 2019 12:49 am

Re: docker not starting (v. 6.34 rpi4)

Post by Joulinar »

Hi,

merry Xmas and many thanks for your message.

Just to avoid a misunderstanding, DietPi is not and will not provide any kernel. The kernel used is provided by the underlying base image. In case of Raspberry Pi, Raspberry OS is used. Means, kernel is provided by Raspberry Foundation.

Back to your issue:

looks like some network issues on your side

Code: Select all

gru 24 23:26:29 DietPi dockerd[4085]: failed to start daemon: Error initializing network controller: list bridge addresses failed
pls can you post journalctl -u docker.service
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
yaslaw
Posts: 16
Joined: Wed Jan 30, 2019 7:58 pm

Re: docker not starting (v. 6.34 rpi4)

Post by yaslaw »

Hi,

Marry Chrismas for everyone ;)
I don't know why my network can cause docker failure. I have a openvpn client configured to work all the time in the background.
I spotted that installation of docker, broken also ubouquity and radarr.
Here is my output from docker as you requested

Code: Select all

gru 25 09:32:36 DietPi systemd[1]: Starting Docker Application Container Engine...
gru 25 09:32:37 DietPi dockerd[20956]: time="2020-12-25T09:32:37.030545687+01:00" level=info msg="Starting up"
gru 25 09:32:37 DietPi dockerd[20956]: time="2020-12-25T09:32:37.034446483+01:00" level=info msg="parsed scheme: \"unix\"" module=grpc
gru 25 09:32:37 DietPi dockerd[20956]: time="2020-12-25T09:32:37.034520076+01:00" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc
gru 25 09:32:37 DietPi dockerd[20956]: time="2020-12-25T09:32:37.034598650+01:00" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///run/containerd/conta
inerd.sock  <nil> 0 <nil>}] <nil> <nil>}" module=grpc
gru 25 09:32:37 DietPi dockerd[20956]: time="2020-12-25T09:32:37.034691631+01:00" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc
gru 25 09:32:37 DietPi dockerd[20956]: time="2020-12-25T09:32:37.042289502+01:00" level=info msg="parsed scheme: \"unix\"" module=grpc
gru 25 09:32:37 DietPi dockerd[20956]: time="2020-12-25T09:32:37.042546205+01:00" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc
gru 25 09:32:37 DietPi dockerd[20956]: time="2020-12-25T09:32:37.042701576+01:00" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///run/containerd/conta
inerd.sock  <nil> 0 <nil>}] <nil> <nil>}" module=grpc
gru 25 09:32:37 DietPi dockerd[20956]: time="2020-12-25T09:32:37.042764557+01:00" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc
gru 25 09:32:42 DietPi dockerd[20956]: time="2020-12-25T09:32:42.969158183+01:00" level=warning msg="Your kernel does not support cgroup memory limit"
gru 25 09:32:42 DietPi dockerd[20956]: time="2020-12-25T09:32:42.970155091+01:00" level=warning msg="Your kernel does not support CPU realtime scheduler"
gru 25 09:32:42 DietPi dockerd[20956]: time="2020-12-25T09:32:42.970255702+01:00" level=warning msg="Your kernel does not support cgroup blkio weight"
gru 25 09:32:42 DietPi dockerd[20956]: time="2020-12-25T09:32:42.970339109+01:00" level=warning msg="Your kernel does not support cgroup blkio weight_device"
gru 25 09:32:42 DietPi dockerd[20956]: time="2020-12-25T09:32:42.971329350+01:00" level=info msg="Loading containers: start."
gru 25 09:32:43 DietPi dockerd[20956]: failed to start daemon: Error initializing network controller: list bridge addresses failed: PredefinedLocalScopeDefaultNetworks Li
st: [172.17.0.0/16 172.18.0.0/16 172.19.0.0/16 172.20.0.0/16 172.21.0.0/16 172.22.0.0/16 172.23.0.0/16 172.24.0.0/16 172.25.0.0/16 172.26.0.0/16 172.27.0.0/16 172.28.0.0/
16 172.29.0.0/16 172.30.0.0/16 172.31.0.0/16 192.168.0.0/20 192.168.16.0/20 192.168.32.0/20 192.168.48.0/20 192.168.64.0/20 192.168.80.0/20 192.168.96.0/20 192.168.112.0/
20 192.168.128.0/20 192.168.144.0/20 192.168.160.0/20 192.168.176.0/20 192.168.192.0/20 192.168.208.0/20 192.168.224.0/20 192.168.240.0/20]: no available network
gru 25 09:32:43 DietPi systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILURE
gru 25 09:32:43 DietPi systemd[1]: docker.service: Failed with result 'exit-code'.
gru 25 09:32:43 DietPi systemd[1]: Failed to start Docker Application Container Engine.
gru 25 09:32:45 DietPi systemd[1]: docker.service: Service RestartSec=2s expired, scheduling restart.
gru 25 09:32:45 DietPi systemd[1]: docker.service: Scheduled restart job, restart counter is at 1.
gru 25 09:32:45 DietPi systemd[1]: Stopped Docker Application Container Engine.
gru 25 09:32:45 DietPi systemd[1]: Starting Docker Application Container Engine...
gru 25 09:32:45 DietPi dockerd[21046]: time="2020-12-25T09:32:45.875078885+01:00" level=info msg="Starting up"
gru 25 09:32:45 DietPi dockerd[21046]: time="2020-12-25T09:32:45.879037756+01:00" level=info msg="parsed scheme: \"unix\"" module=grpc
gru 25 09:32:45 DietPi dockerd[21046]: time="2020-12-25T09:32:45.879141422+01:00" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc
gru 25 09:32:45 DietPi dockerd[21046]: time="2020-12-25T09:32:45.879228570+01:00" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///run/containerd/conta
inerd.sock  <nil> 0 <nil>}] <nil> <nil>}" module=grpc
gru 25 09:32:45 DietPi dockerd[21046]: time="2020-12-25T09:32:45.879297922+01:00" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc
gru 25 09:32:45 DietPi dockerd[21046]: time="2020-12-25T09:32:45.883074181+01:00" level=info msg="parsed scheme: \"unix\"" module=grpc
gru 25 09:32:45 DietPi dockerd[21046]: time="2020-12-25T09:32:45.883167737+01:00" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc
gru 25 09:32:45 DietPi dockerd[21046]: time="2020-12-25T09:32:45.883238663+01:00" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///run/containerd/conta
inerd.sock  <nil> 0 <nil>}] <nil> <nil>}" module=grpc
gru 25 09:32:45 DietPi dockerd[21046]: time="2020-12-25T09:32:45.883332681+01:00" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc
gru 25 09:32:56 DietPi dockerd[21046]: time="2020-12-25T09:32:56.431187583+01:00" level=info msg="[graphdriver] using prior storage driver: overlay2"
gru 25 09:32:56 DietPi dockerd[21046]: time="2020-12-25T09:32:56.518627990+01:00" level=warning msg="Your kernel does not support cgroup memory limit"
gru 25 09:32:56 DietPi dockerd[21046]: time="2020-12-25T09:32:56.518695342+01:00" level=warning msg="Your kernel does not support CPU realtime scheduler"
gru 25 09:32:56 DietPi dockerd[21046]: time="2020-12-25T09:32:56.518726842+01:00" level=warning msg="Your kernel does not support cgroup blkio weight"
gru 25 09:32:56 DietPi dockerd[21046]: time="2020-12-25T09:32:56.518756786+01:00" level=warning msg="Your kernel does not support cgroup blkio weight_device"
gru 25 09:32:56 DietPi dockerd[21046]: time="2020-12-25T09:32:56.519222768+01:00" level=info msg="Loading containers: start."
gru 25 09:32:56 DietPi dockerd[21046]: failed to start daemon: Error initializing network controller: list bridge addresses failed: PredefinedLocalScopeDefaultNetworks Li
st: [172.17.0.0/16 172.18.0.0/16 172.19.0.0/16 172.20.0.0/16 172.21.0.0/16 172.22.0.0/16 172.23.0.0/16 172.24.0.0/16 172.25.0.0/16 172.26.0.0/16 172.27.0.0/16 172.28.0.0/
16 172.29.0.0/16 172.30.0.0/16 172.31.0.0/16 192.168.0.0/20 192.168.16.0/20 192.168.32.0/20 192.168.48.0/20 192.168.64.0/20 192.168.80.0/20 192.168.96.0/20 192.168.112.0/
20 192.168.128.0/20 192.168.144.0/20 192.168.160.0/20 192.168.176.0/20 192.168.192.0/20 192.168.208.0/20 192.168.224.0/20 192.168.240.0/20]: no available network
gru 25 09:32:56 DietPi systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILURE
gru 25 09:32:56 DietPi systemd[1]: docker.service: Failed with result 'exit-code'.
gru 25 09:32:56 DietPi systemd[1]: Failed to start Docker Application Container Engine.
gru 25 09:32:58 DietPi systemd[1]: docker.service: Service RestartSec=2s expired, scheduling restart.
gru 25 09:32:58 DietPi systemd[1]: docker.service: Scheduled restart job, restart counter is at 2.
gru 25 09:32:58 DietPi systemd[1]: Stopped Docker Application Container Engine.
gru 25 09:32:58 DietPi systemd[1]: Starting Docker Application Container Engine...
gru 25 09:32:59 DietPi dockerd[21110]: time="2020-12-25T09:32:59.122750988+01:00" level=info msg="Starting up"
gru 25 09:32:59 DietPi dockerd[21110]: time="2020-12-25T09:32:59.126073414+01:00" level=info msg="parsed scheme: \"unix\"" module=grpc
gru 25 09:32:59 DietPi dockerd[21110]: time="2020-12-25T09:32:59.126146951+01:00" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc
gru 25 09:32:59 DietPi dockerd[21110]: time="2020-12-25T09:32:59.126228229+01:00" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///run/containerd/conta
inerd.sock  <nil> 0 <nil>}] <nil> <nil>}" module=grpc
gru 25 09:32:59 DietPi dockerd[21110]: time="2020-12-25T09:32:59.126312081+01:00" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc
gru 25 09:32:59 DietPi dockerd[21110]: time="2020-12-25T09:32:59.129597155+01:00" level=info msg="parsed scheme: \"unix\"" module=grpc
gru 25 09:32:59 DietPi dockerd[21110]: time="2020-12-25T09:32:59.129665711+01:00" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc
gru 25 09:32:59 DietPi dockerd[21110]: time="2020-12-25T09:32:59.129730803+01:00" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///run/containerd/conta
inerd.sock  <nil> 0 <nil>}] <nil> <nil>}" module=grpc
gru 25 09:32:59 DietPi dockerd[21110]: time="2020-12-25T09:32:59.129811970+01:00" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc
gru 25 09:33:07 DietPi dockerd[21110]: time="2020-12-25T09:33:07.539283502+01:00" level=info msg="[graphdriver] using prior storage driver: overlay2"
gru 25 09:33:07 DietPi dockerd[21110]: time="2020-12-25T09:33:07.714271446+01:00" level=warning msg="Your kernel does not support cgroup memory limit"
gru 25 09:33:07 DietPi dockerd[21110]: time="2020-12-25T09:33:07.714354354+01:00" level=warning msg="Your kernel does not support CPU realtime scheduler"
gru 25 09:33:07 DietPi dockerd[21110]: time="2020-12-25T09:33:07.714405076+01:00" level=warning msg="Your kernel does not support cgroup blkio weight"
gru 25 09:33:07 DietPi dockerd[21110]: time="2020-12-25T09:33:07.714435631+01:00" level=warning msg="Your kernel does not support cgroup blkio weight_device"
gru 25 09:33:07 DietPi dockerd[21110]: time="2020-12-25T09:33:07.715198780+01:00" level=info msg="Loading containers: start."
gru 25 09:33:08 DietPi dockerd[21110]: time="2020-12-25T09:33:08.192110020+01:00" level=info msg="stopping event stream following graceful shutdown" error="<nil>" module=
libcontainerd namespace=moby
gru 25 09:33:08 DietPi dockerd[21110]: failed to start daemon: Error initializing network controller: list bridge addresses failed: PredefinedLocalScopeDefaultNetworks Li
st: [172.17.0.0/16 172.18.0.0/16 172.19.0.0/16 172.20.0.0/16 172.21.0.0/16 172.22.0.0/16 172.23.0.0/16 172.24.0.0/16 172.25.0.0/16 172.26.0.0/16 172.27.0.0/16 172.28.0.0/
16 172.29.0.0/16 172.30.0.0/16 172.31.0.0/16 192.168.0.0/20 192.168.16.0/20 192.168.32.0/20 192.168.48.0/20 192.168.64.0/20 192.168.80.0/20 192.168.96.0/20 192.168.112.0/
20 192.168.128.0/20 192.168.144.0/20 192.168.160.0/20 192.168.176.0/20 192.168.192.0/20 192.168.208.0/20 192.168.224.0/20 192.168.240.0/20]: no available network
gru 25 09:33:08 DietPi systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILURE
gru 25 09:33:08 DietPi systemd[1]: docker.service: Failed with result 'exit-code'.
gru 25 09:33:08 DietPi systemd[1]: Failed to start Docker Application Container Engine.
gru 25 09:33:10 DietPi systemd[1]: docker.service: Service RestartSec=2s expired, scheduling restart.
gru 25 09:33:10 DietPi systemd[1]: docker.service: Scheduled restart job, restart counter is at 3.
gru 25 09:33:10 DietPi systemd[1]: Stopped Docker Application Container Engine.
gru 25 09:33:10 DietPi systemd[1]: Starting Docker Application Container Engine...
gru 25 09:33:10 DietPi dockerd[21170]: time="2020-12-25T09:33:10.626078685+01:00" level=info msg="Starting up"
gru 25 09:33:10 DietPi dockerd[21170]: time="2020-12-25T09:33:10.630793648+01:00" level=info msg="parsed scheme: \"unix\"" module=grpc
gru 25 09:33:10 DietPi dockerd[21170]: time="2020-12-25T09:33:10.630886630+01:00" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc
gru 25 09:33:10 DietPi dockerd[21170]: time="2020-12-25T09:33:10.631811556+01:00" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///run/containerd/conta
inerd.sock  <nil> 0 <nil>}] <nil> <nil>}" module=grpc
gru 25 09:33:10 DietPi dockerd[21170]: time="2020-12-25T09:33:10.631949000+01:00" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc
gru 25 09:33:10 DietPi dockerd[21170]: time="2020-12-25T09:33:10.643593037+01:00" level=info msg="parsed scheme: \"unix\"" module=grpc
gru 25 09:33:10 DietPi dockerd[21170]: time="2020-12-25T09:33:10.643659500+01:00" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc
gru 25 09:33:10 DietPi dockerd[21170]: time="2020-12-25T09:33:10.643730426+01:00" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///run/containerd/conta
inerd.sock  <nil> 0 <nil>}] <nil> <nil>}" module=grpc
gru 25 09:33:10 DietPi dockerd[21170]: time="2020-12-25T09:33:10.643787370+01:00" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc
gru 25 09:33:11 DietPi dockerd[21170]: time="2020-12-25T09:33:11.265134185+01:00" level=info msg="[graphdriver] using prior storage driver: overlay2"
gru 25 09:33:11 DietPi dockerd[21170]: time="2020-12-25T09:33:11.318650666+01:00" level=warning msg="Your kernel does not support cgroup memory limit"
gru 25 09:33:11 DietPi dockerd[21170]: time="2020-12-25T09:33:11.319245129+01:00" level=warning msg="Your kernel does not support CPU realtime scheduler"
gru 25 09:33:11 DietPi dockerd[21170]: time="2020-12-25T09:33:11.319621333+01:00" level=warning msg="Your kernel does not support cgroup blkio weight"
gru 25 09:33:11 DietPi dockerd[21170]: time="2020-12-25T09:33:11.320040074+01:00" level=warning msg="Your kernel does not support cgroup blkio weight_device"
gru 25 09:33:11 DietPi dockerd[21170]: time="2020-12-25T09:33:11.320817611+01:00" level=info msg="Loading containers: start."
gru 25 09:33:11 DietPi dockerd[21170]: time="2020-12-25T09:33:11.789955110+01:00" level=info msg="stopping event stream following graceful shutdown" error="<nil>" module=
libcontainerd namespace=moby
gru 25 09:33:11 DietPi dockerd[21170]: failed to start daemon: Error initializing network controller: list bridge addresses failed: PredefinedLocalScopeDefaultNetworks Li
st: [172.17.0.0/16 172.18.0.0/16 172.19.0.0/16 172.20.0.0/16 172.21.0.0/16 172.22.0.0/16 172.23.0.0/16 172.24.0.0/16 172.25.0.0/16 172.26.0.0/16 172.27.0.0/16 172.28.0.0/
16 172.29.0.0/16 172.30.0.0/16 172.31.0.0/16 192.168.0.0/20 192.168.16.0/20 192.168.32.0/20 192.168.48.0/20 192.168.64.0/20 192.168.80.0/20 192.168.96.0/20 192.168.112.0/
20 192.168.128.0/20 192.168.144.0/20 192.168.160.0/20 192.168.176.0/20 192.168.192.0/20 192.168.208.0/20 192.168.224.0/20 192.168.240.0/20]: no available network
gru 25 09:33:11 DietPi systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILURE
gru 25 09:33:11 DietPi systemd[1]: docker.service: Failed with result 'exit-code'.
gru 25 09:33:11 DietPi systemd[1]: Failed to start Docker Application Container Engine.
gru 25 09:33:13 DietPi systemd[1]: docker.service: Service RestartSec=2s expired, scheduling restart.
gru 25 09:33:13 DietPi systemd[1]: docker.service: Scheduled restart job, restart counter is at 4.
gru 25 09:33:13 DietPi systemd[1]: Stopped Docker Application Container Engine.
gru 25 09:33:13 DietPi systemd[1]: docker.service: Start request repeated too quickly.
gru 25 09:33:13 DietPi systemd[1]: docker.service: Failed with result 'exit-code'.
gru 25 09:33:13 DietPi systemd[1]: Failed to start Docker Application Container Engine.
gru 25 09:43:29 DietPi systemd[1]: Starting Docker Application Container Engine...
gru 25 09:43:30 DietPi dockerd[21992]: time="2020-12-25T09:43:30.153701816+01:00" level=info msg="Starting up"
gru 25 09:43:30 DietPi dockerd[21992]: time="2020-12-25T09:43:30.164053020+01:00" level=info msg="parsed scheme: \"unix\"" module=grpc
gru 25 09:43:30 DietPi dockerd[21992]: time="2020-12-25T09:43:30.164135575+01:00" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc
gru 25 09:43:30 DietPi dockerd[21992]: time="2020-12-25T09:43:30.164241723+01:00" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///run/containerd/conta
inerd.sock  <nil> 0 <nil>}] <nil> <nil>}" module=grpc
gru 25 09:43:30 DietPi dockerd[21992]: time="2020-12-25T09:43:30.164318038+01:00" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc
gru 25 09:43:30 DietPi dockerd[21992]: time="2020-12-25T09:43:30.167805242+01:00" level=info msg="parsed scheme: \"unix\"" module=grpc
gru 25 09:43:30 DietPi dockerd[21992]: time="2020-12-25T09:43:30.167924760+01:00" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc
gru 25 09:43:30 DietPi dockerd[21992]: time="2020-12-25T09:43:30.168039149+01:00" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///run/containerd/conta
inerd.sock  <nil> 0 <nil>}] <nil> <nil>}" module=grpc
gru 25 09:43:30 DietPi dockerd[21992]: time="2020-12-25T09:43:30.168109038+01:00" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc
gru 25 09:43:31 DietPi dockerd[21992]: time="2020-12-25T09:43:31.030542149+01:00" level=info msg="[graphdriver] using prior storage driver: overlay2"
gru 25 09:43:31 DietPi dockerd[21992]: time="2020-12-25T09:43:31.083834427+01:00" level=warning msg="Your kernel does not support cgroup memory limit"
gru 25 09:43:31 DietPi dockerd[21992]: time="2020-12-25T09:43:31.083898204+01:00" level=warning msg="Your kernel does not support CPU realtime scheduler"
gru 25 09:43:31 DietPi dockerd[21992]: time="2020-12-25T09:43:31.083957630+01:00" level=warning msg="Your kernel does not support cgroup blkio weight"
gru 25 09:43:31 DietPi dockerd[21992]: time="2020-12-25T09:43:31.083989112+01:00" level=warning msg="Your kernel does not support cgroup blkio weight_device"
gru 25 09:43:31 DietPi dockerd[21992]: time="2020-12-25T09:43:31.084427445+01:00" level=info msg="Loading containers: start."
gru 25 09:43:31 DietPi dockerd[21992]: time="2020-12-25T09:43:31.476874241+01:00" level=info msg="stopping event stream following graceful shutdown" error="<nil>" module=
libcontainerd namespace=moby
gru 25 09:43:31 DietPi dockerd[21992]: failed to start daemon: Error initializing network controller: list bridge addresses failed: PredefinedLocalScopeDefaultNetworks Li
st: [172.17.0.0/16 172.18.0.0/16 172.19.0.0/16 172.20.0.0/16 172.21.0.0/16 172.22.0.0/16 172.23.0.0/16 172.24.0.0/16 172.25.0.0/16 172.26.0.0/16 172.27.0.0/16 172.28.0.0/
16 172.29.0.0/16 172.30.0.0/16 172.31.0.0/16 192.168.0.0/20 192.168.16.0/20 192.168.32.0/20 192.168.48.0/20 192.168.64.0/20 192.168.80.0/20 192.168.96.0/20 192.168.112.0/
20 192.168.128.0/20 192.168.144.0/20 192.168.160.0/20 192.168.176.0/20 192.168.192.0/20 192.168.208.0/20 192.168.224.0/20 192.168.240.0/20]: no available network
gru 25 09:43:31 DietPi systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILURE
gru 25 09:43:31 DietPi systemd[1]: docker.service: Failed with result 'exit-code'.
gru 25 09:43:31 DietPi systemd[1]: Failed to start Docker Application Container Engine.
gru 25 09:43:33 DietPi systemd[1]: docker.service: Service RestartSec=2s expired, scheduling restart.
gru 25 09:43:33 DietPi systemd[1]: docker.service: Scheduled restart job, restart counter is at 1.
gru 25 09:43:33 DietPi systemd[1]: Stopped Docker Application Container Engine.
gru 25 09:43:33 DietPi systemd[1]: Starting Docker Application Container Engine...
gru 25 09:43:33 DietPi dockerd[22054]: time="2020-12-25T09:43:33.882027795+01:00" level=info msg="Starting up"
gru 25 09:43:33 DietPi dockerd[22054]: time="2020-12-25T09:43:33.885248129+01:00" level=info msg="parsed scheme: \"unix\"" module=grpc
gru 25 09:43:33 DietPi dockerd[22054]: time="2020-12-25T09:43:33.885842592+01:00" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc
gru 25 09:43:33 DietPi dockerd[22054]: time="2020-12-25T09:43:33.886314740+01:00" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///run/containerd/conta
inerd.sock  <nil> 0 <nil>}] <nil> <nil>}" module=grpc
gru 25 09:43:33 DietPi dockerd[22054]: time="2020-12-25T09:43:33.886753814+01:00" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc
gru 25 09:43:33 DietPi dockerd[22054]: time="2020-12-25T09:43:33.890192314+01:00" level=info msg="parsed scheme: \"unix\"" module=grpc
gru 25 09:43:33 DietPi dockerd[22054]: time="2020-12-25T09:43:33.890276573+01:00" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc
gru 25 09:43:33 DietPi dockerd[22054]: time="2020-12-25T09:43:33.890341629+01:00" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///run/containerd/conta
inerd.sock  <nil> 0 <nil>}] <nil> <nil>}" module=grpc
gru 25 09:43:33 DietPi dockerd[22054]: time="2020-12-25T09:43:33.890403777+01:00" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc
gru 25 09:43:34 DietPi dockerd[22054]: time="2020-12-25T09:43:34.421686925+01:00" level=info msg="[graphdriver] using prior storage driver: overlay2"
gru 25 09:43:34 DietPi dockerd[22054]: time="2020-12-25T09:43:34.492748258+01:00" level=warning msg="Your kernel does not support cgroup memory limit"
gru 25 09:43:34 DietPi dockerd[22054]: time="2020-12-25T09:43:34.492812628+01:00" level=warning msg="Your kernel does not support CPU realtime scheduler"
gru 25 09:43:34 DietPi dockerd[22054]: time="2020-12-25T09:43:34.492844110+01:00" level=warning msg="Your kernel does not support cgroup blkio weight"
gru 25 09:43:34 DietPi dockerd[22054]: time="2020-12-25T09:43:34.492873591+01:00" level=warning msg="Your kernel does not support cgroup blkio weight_device"
gru 25 09:43:34 DietPi dockerd[22054]: time="2020-12-25T09:43:34.493312536+01:00" level=info msg="Loading containers: start."
gru 25 09:43:34 DietPi dockerd[22054]: time="2020-12-25T09:43:34.942889943+01:00" level=info msg="stopping event stream following graceful shutdown" error="<nil>" module=
libcontainerd namespace=moby
gru 25 09:43:34 DietPi dockerd[22054]: failed to start daemon: Error initializing network controller: list bridge addresses failed: PredefinedLocalScopeDefaultNetworks Li
st: [172.17.0.0/16 172.18.0.0/16 172.19.0.0/16 172.20.0.0/16 172.21.0.0/16 172.22.0.0/16 172.23.0.0/16 172.24.0.0/16 172.25.0.0/16 172.26.0.0/16 172.27.0.0/16 172.28.0.0/
16 172.29.0.0/16 172.30.0.0/16 172.31.0.0/16 192.168.0.0/20 192.168.16.0/20 192.168.32.0/20 192.168.48.0/20 192.168.64.0/20 192.168.80.0/20 192.168.96.0/20 192.168.112.0/
20 192.168.128.0/20 192.168.144.0/20 192.168.160.0/20 192.168.176.0/20 192.168.192.0/20 192.168.208.0/20 192.168.224.0/20 192.168.240.0/20]: no available network
gru 25 09:43:34 DietPi systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILURE
gru 25 09:43:34 DietPi systemd[1]: docker.service: Failed with result 'exit-code'.
gru 25 09:43:34 DietPi systemd[1]: Failed to start Docker Application Container Engine.
gru 25 09:43:37 DietPi systemd[1]: docker.service: Service RestartSec=2s expired, scheduling restart.
gru 25 09:43:37 DietPi systemd[1]: docker.service: Scheduled restart job, restart counter is at 2.
gru 25 09:43:37 DietPi systemd[1]: Stopped Docker Application Container Engine.
gru 25 09:43:37 DietPi systemd[1]: Starting Docker Application Container Engine...
gru 25 09:43:37 DietPi dockerd[22107]: time="2020-12-25T09:43:37.375023830+01:00" level=info msg="Starting up"
gru 25 09:43:37 DietPi dockerd[22107]: time="2020-12-25T09:43:37.379472589+01:00" level=info msg="parsed scheme: \"unix\"" module=grpc
gru 25 09:43:37 DietPi dockerd[22107]: time="2020-12-25T09:43:37.379596182+01:00" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc
gru 25 09:43:37 DietPi dockerd[22107]: time="2020-12-25T09:43:37.379680367+01:00" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///run/containerd/conta
inerd.sock  <nil> 0 <nil>}] <nil> <nil>}" module=grpc
gru 25 09:43:37 DietPi dockerd[22107]: time="2020-12-25T09:43:37.379749923+01:00" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc
gru 25 09:43:37 DietPi dockerd[22107]: time="2020-12-25T09:43:37.383318201+01:00" level=info msg="parsed scheme: \"unix\"" module=grpc
gru 25 09:43:37 DietPi dockerd[22107]: time="2020-12-25T09:43:37.383381534+01:00" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc
gru 25 09:43:37 DietPi dockerd[22107]: time="2020-12-25T09:43:37.383449034+01:00" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///run/containerd/conta
inerd.sock  <nil> 0 <nil>}] <nil> <nil>}" module=grpc
gru 25 09:43:37 DietPi dockerd[22107]: time="2020-12-25T09:43:37.383489626+01:00" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc
gru 25 09:43:37 DietPi dockerd[22107]: time="2020-12-25T09:43:37.673741515+01:00" level=info msg="[graphdriver] using prior storage driver: overlay2"
gru 25 09:43:37 DietPi dockerd[22107]: time="2020-12-25T09:43:37.728611497+01:00" level=warning msg="Your kernel does not support cgroup memory limit"
gru 25 09:43:37 DietPi dockerd[22107]: time="2020-12-25T09:43:37.728725737+01:00" level=warning msg="Your kernel does not support CPU realtime scheduler"
gru 25 09:43:37 DietPi dockerd[22107]: time="2020-12-25T09:43:37.728784886+01:00" level=warning msg="Your kernel does not support cgroup blkio weight"
gru 25 09:43:37 DietPi dockerd[22107]: time="2020-12-25T09:43:37.728841811+01:00" level=warning msg="Your kernel does not support cgroup blkio weight_device"
gru 25 09:43:37 DietPi dockerd[22107]: time="2020-12-25T09:43:37.729564978+01:00" level=info msg="Loading containers: start."
gru 25 09:43:38 DietPi dockerd[22107]: failed to start daemon: Error initializing network controller: list bridge addresses failed: PredefinedLocalScopeDefaultNetworks Li
st: [172.17.0.0/16 172.18.0.0/16 172.19.0.0/16 172.20.0.0/16 172.21.0.0/16 172.22.0.0/16 172.23.0.0/16 172.24.0.0/16 172.25.0.0/16 172.26.0.0/16 172.27.0.0/16 172.28.0.0/
16 172.29.0.0/16 172.30.0.0/16 172.31.0.0/16 192.168.0.0/20 192.168.16.0/20 192.168.32.0/20 192.168.48.0/20 192.168.64.0/20 192.168.80.0/20 192.168.96.0/20 192.168.112.0/
20 192.168.128.0/20 192.168.144.0/20 192.168.160.0/20 192.168.176.0/20 192.168.192.0/20 192.168.208.0/20 192.168.224.0/20 192.168.240.0/20]: no available network
gru 25 09:43:38 DietPi systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILURE
gru 25 09:43:38 DietPi systemd[1]: docker.service: Failed with result 'exit-code'.
gru 25 09:43:38 DietPi systemd[1]: Failed to start Docker Application Container Engine.
gru 25 09:43:40 DietPi systemd[1]: docker.service: Service RestartSec=2s expired, scheduling restart.
gru 25 09:43:40 DietPi systemd[1]: docker.service: Scheduled restart job, restart counter is at 3.
gru 25 09:43:40 DietPi systemd[1]: Stopped Docker Application Container Engine.
gru 25 09:43:40 DietPi systemd[1]: docker.service: Start request repeated too quickly.
gru 25 09:43:40 DietPi systemd[1]: docker.service: Failed with result 'exit-code'.
gru 25 09:43:40 DietPi systemd[1]: Failed to start Docker Application Container Engine.
Last edited by yaslaw on Fri Dec 25, 2020 11:28 am, edited 1 time in total.
yaslaw
Posts: 16
Joined: Wed Jan 30, 2019 7:58 pm

Re: docker not starting (v. 6.34 rpi4)

Post by yaslaw »

Ok, I found a solution - I hope that will help other people that can encounter the same problem.
As described in docker github https://github.com/docker/for-linux/issues/123 I added network interface for docker manually

Code: Select all

ip link add name docker0 type bridge
ip addr add dev docker0 172.17.0.1/16
Now docker starts, and other services that had problem (ubouquity/radarr) works well too.
User avatar
Joulinar
Posts: 4113
Joined: Sat Nov 16, 2019 12:49 am

Re: docker not starting (v. 6.34 rpi4)

Post by Joulinar »

usually the docker interface should have been created during installation of docker. Strange that it was missing on your side.

Can you post ip a
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
yaslaw
Posts: 16
Joined: Wed Jan 30, 2019 7:58 pm

Re: docker not starting (v. 6.34 rpi4)

Post by yaslaw »

Hi,

Sure:

Code: Select all

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
    link/ether dc:a6:32:8b:76:0e brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether dc:a6:32:8b:76:10 brd ff:ff:ff:ff:ff:ff
    inet 192.168.88.175/24 brd 192.168.88.255 scope global dynamic wlan0
       valid_lft 420sec preferred_lft 420sec
21: tun0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN group default qlen 100
    link/none
    inet 188.72.81.71/28 brd 188.72.81.79 scope global tun0
       valid_lft forever preferred_lft forever
22: docker0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether c6:d1:8b:21:6a:72 brd ff:ff:ff:ff:ff:ff
    inet 172.17.0.1/16 scope global docker0
       valid_lft forever preferred_lft forever
User avatar
Joulinar
Posts: 4113
Joined: Sat Nov 16, 2019 12:49 am

Re: docker not starting (v. 6.34 rpi4)

Post by Joulinar »

that looking fine. No conflict between the interfaces. Strange that docker interface was missing before. good it's working now
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Post Reply