Docker Community Forums

Share and learn in the Docker community.

Docker daemon failed to start after system reboot

Hello,
I have docker running on a CentOS 7 VM. The system was running without problem until a reboot in January 2020. After reboot, i cannot get the docker daemon to start.

What i tried:

  • Clear docker setting by delete /var/lib/docker/ --> Didn’t work
  • Enforce overlay2 by added “storage-driver”: “overlay2” to daemon.json --> Didn’t work
  • Update the system with yum update --> Worked

The system is working fine now but i don’t understand why it suddenly stopped working and why updated the system fixed the problem. I started using the system from August of 2019, nothing changed since then, and i have no problem with start the daemon after reboot too.

Sorry for my bad English!
Thank in advance!

System before update:

Linux sv724 3.10.0-957.5.1.el7.x86_64 #1 SMP Fri Feb 1 14:54:57 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Docker version 18.09.7, build 2d0083d
docker-compose version 1.24.0, build 0aa59064
docker-ce.x86_64                        3:18.09.7-3.el7                installed
docker-ce-cli.x86_64                    1:18.09.7-3.el7                installed

system after update:

Linux sv724 3.10.0-1062.9.1.el7.x86_64 #1 SMP Fri Dec 6 15:49:49 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Docker version 18.09.7, build 2d0083d
docker-compose version 1.24.0, build 0aa59064
docker-ce.x86_64                            3:18.09.7-3.el7            @/docker-ce-18.09.7-3.el7.x86_64
docker-ce-cli.x86_64                        1:18.09.7-3.el7            @/docker-ce-cli-18.09.7-3.el7.x86_64

#systemctl status docker

    ● docker.service - Docker Application Container Engine
       Loaded: loaded (/usr/lib/systemd/system/docker.service; enabled; vendor preset: disabled)
       Active: failed (Result: start-limit) since 月 2020-01-20 09:53:50 JST; 4min 30s ago
         Docs: https://docs.docker.com
      Process: 8582 ExecStart=/usr/bin/dockerd -H unix:///var/run/docker.sock --containerd=/run/containerd/containerd.sock (code=exited, status=1/FAILURE)
     Main PID: 8582 (code=exited, status=1/FAILURE)

     1月 20 09:53:48 sv724 systemd[1]: docker.service: main process exited, code=exited, status=1/FAILURE
     1月 20 09:53:48 sv724 systemd[1]: Failed to start Docker Application Container Engine.
     1月 20 09:53:48 sv724 systemd[1]: Unit docker.service entered failed state.
     1月 20 09:53:48 sv724 systemd[1]: docker.service failed.
     1月 20 09:53:50 sv724 systemd[1]: docker.service holdoff time over, scheduling restart.
     1月 20 09:53:50 sv724 systemd[1]: Stopped Docker Application Container Engine.
     1月 20 09:53:50 sv724 systemd[1]: start request repeated too quickly for docker.service
     1月 20 09:53:50 sv724 systemd[1]: Failed to start Docker Application Container Engine.
     1月 20 09:53:50 sv724 systemd[1]: Unit docker.service entered failed state.
     1月 20 09:53:50 sv724 systemd[1]: docker.service failed.

#journalctl -xe

1月 09 15:41:27 sv724 systemd[1]: Starting Docker Socket for the API.

-- Subject: Unit docker.socket has begun start-up

-- Defined-By: systemd

-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel

--

-- Unit docker.socket has begun starting up.

1月 09 15:41:27 sv724 systemd[1]: Listening on Docker Socket for the API.

-- Subject: Unit docker.socket has finished start-up

-- Defined-By: systemd

-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel

--

-- Unit docker.socket has finished starting up.

--

-- The start-up result is done.

1月 09 15:41:27 sv724 systemd[1]: Starting Docker Application Container Engine...

-- Subject: Unit docker.service has begun start-up

-- Defined-By: systemd

-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel

--

-- Unit docker.service has begun starting up.

1月 09 15:41:27 sv724 dockerd[7697]: time="2020-01-09T15:41:27.857486395+09:00" level=info msg="parsed scheme: \"unix\"" module=grpc

1月 09 15:41:27 sv724 dockerd[7697]: time="2020-01-09T15:41:27.857531207+09:00" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc

1月 09 15:41:27 sv724 dockerd[7697]: time="2020-01-09T15:41:27.857564912+09:00" level=info msg="parsed scheme: \"unix\"" module=grpc

1月 09 15:41:27 sv724 dockerd[7697]: time="2020-01-09T15:41:27.857570275+09:00" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc

1月 09 15:41:27 sv724 dockerd[7697]: time="2020-01-09T15:41:27.857627426+09:00" level=info msg="ccResolverWrapper: sending new addresses to cc: [{unix:///run/containerd/containerd.sock 0 }]" module=grpc

1月 09 15:41:27 sv724 dockerd[7697]: time="2020-01-09T15:41:27.857629575+09:00" level=info msg="ccResolverWrapper: sending new addresses to cc: [{unix:///run/containerd/containerd.sock 0 }]" module=grpc

1月 09 15:41:27 sv724 dockerd[7697]: time="2020-01-09T15:41:27.857645131+09:00" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc

1月 09 15:41:27 sv724 dockerd[7697]: time="2020-01-09T15:41:27.857650195+09:00" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc

1月 09 15:41:27 sv724 dockerd[7697]: time="2020-01-09T15:41:27.857698595+09:00" level=info msg="pickfirstBalancer: HandleSubConnStateChange: 0xc42017c930, CONNECTING" module=grpc

1月 09 15:41:27 sv724 dockerd[7697]: time="2020-01-09T15:41:27.857703806+09:00" level=info msg="pickfirstBalancer: HandleSubConnStateChange: 0xc420168850, CONNECTING" module=grpc

1月 09 15:41:27 sv724 dockerd[7697]: time="2020-01-09T15:41:27.857826637+09:00" level=info msg="pickfirstBalancer: HandleSubConnStateChange: 0xc420168850, READY" module=grpc

1月 09 15:41:27 sv724 dockerd[7697]: time="2020-01-09T15:41:27.858757049+09:00" level=info msg="pickfirstBalancer: HandleSubConnStateChange: 0xc42017c930, READY" module=grpc

1月 09 15:41:27 sv724 dockerd[7697]: time="2020-01-09T15:41:27.859388277+09:00" level=error msg="'overlay' not found as a supported filesystem on this host. Please ensure kernel is new enough and has overlay support loaded." storage-driver=overlay2

1月 09 15:41:27 sv724 dockerd[7697]: time="2020-01-09T15:41:27.859409202+09:00" level=error msg="[graphdriver] prior storage driver overlay2 failed: driver not supported"

1月 09 15:41:27 sv724 dockerd[7697]: Error starting daemon: error initializing graphdriver: driver not supported

1月 09 15:41:27 sv724 systemd[1]: docker.service: main process exited, code=exited, status=1/FAILURE

1月 09 15:41:27 sv724 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

--

-- Unit docker.service has failed.

--

-- The result is failed.

1月 09 15:41:27 sv724 systemd[1]: Unit docker.service entered failed state.

1月 09 15:41:27 sv724 systemd[1]: docker.service failed.

1月 09 15:41:28 sv724 polkitd[5519]: Registered Authentication Agent for unix-process:7710:410151 (system bus name :1.101 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale ja_JP.UTF-8)

1月 09 15:41:28 sv724 systemd[1]: Stopped Docker Application Container Engine.

-- Subject: Unit docker.service has finished shutting down

-- Defined-By: systemd

-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel

--

-- Unit docker.service has finished shutting down.

1月 09 15:41:28 sv724 systemd[1]: Closed Docker Socket for the API.

-- Subject: Unit docker.socket has finished shutting down

-- Defined-By: systemd

-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel

--

-- Unit docker.socket has finished shutting down.

1月 09 15:41:28 sv724 systemd[1]: Stopping Docker Socket for the API.

-- Subject: Unit docker.socket has begun shutting down

-- Defined-By: systemd

-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel

--

-- Unit docker.socket has begun shutting down.

1月 09 15:41:28 sv724 systemd[1]: Starting Docker Socket for the API.

-- Subject: Unit docker.socket has begun start-up

-- Defined-By: systemd

-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel

--

-- Unit docker.socket has begun starting up.

1月 09 15:41:28 sv724 systemd[1]: Listening on Docker Socket for the API.

-- Subject: Unit docker.socket has finished start-up

-- Defined-By: systemd

-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel

--

-- Unit docker.socket has finished starting up.

--

-- The start-up result is done.

1月 09 15:41:28 sv724 systemd[1]: start request repeated too quickly for docker.service

1月 09 15:41:28 sv724 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

--

-- Unit docker.service has failed.

--

-- The result is failed.

1月 09 15:41:28 sv724 systemd[1]: Unit docker.service entered failed state.

1月 09 15:41:28 sv724 systemd[1]: docker.service failed.

1月 09 15:41:28 sv724 polkitd[5519]: Unregistered Authentication Agent for unix-process:7710:410151 (system bus name :1.101, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale ja_JP.UTF-8) (disconnected from bus)

1月 09 15:41:30 sv724 polkitd[5519]: Registered Authentication Agent for unix-process:7721:410353 (system bus name :1.102 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale ja_JP.UTF-8)

1月 09 15:41:30 sv724 systemd[1]: Closed Docker Socket for the API.

-- Subject: Unit docker.socket has finished shutting down

-- Defined-By: systemd

-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel

--

-- Unit docker.socket has finished shutting down.

1月 09 15:41:30 sv724 systemd[1]: Stopping Docker Socket for the API.

-- Subject: Unit docker.socket has begun shutting down

-- Defined-By: systemd

-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel

--

-- Unit docker.socket has begun shutting down.

1月 09 15:41:30 sv724 systemd[1]: Starting Docker Socket for the API.

-- Subject: Unit docker.socket has begun start-up

-- Defined-By: systemd

-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel

--

-- Unit docker.socket has begun starting up.

1月 09 15:41:30 sv724 systemd[1]: Listening on Docker Socket for the API.

-- Subject: Unit docker.socket has finished start-up

-- Defined-By: systemd

-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel

--

-- Unit docker.socket has finished starting up.

--

-- The start-up result is done.

1月 09 15:41:30 sv724 systemd[1]: start request repeated too quickly for docker.service

1月 09 15:41:30 sv724 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

--

-- Unit docker.service has failed.

--

-- The result is failed.

1月 09 15:41:30 sv724 systemd[1]: docker.service failed.

1月 09 15:41:30 sv724 polkitd[5519]: Unregistered Authentication Agent for unix-process:7721:410353 (system bus name :1.102, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale ja_JP.UTF-8) (disconnected from bus)

1月 09 15:41:38 sv724 Connectd[5989]: Waiting for IP address

1月 09 15:41:38 sv724 Connectd[6045]: Waiting for IP address

1月 09 15:41:38 sv724 Connectd[6072]: Waiting for IP address

1月 09 15:41:41 sv724 Connectd[5989]: Connectd in Wait State.

1月 09 15:41:41 sv724 Connectd[6045]: Connectd in Wait State.

1月 09 15:41:41 sv724 Connectd[6072]: Connectd in Wait State.

1月 09 15:41:42 sv724 polkitd[5519]: Registered Authentication Agent for unix-process:7732:411527 (system bus name :1.103 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale ja_JP.UTF-8)

1月 09 15:41:42 sv724 systemd[1]: Closed Docker Socket for the API.

-- Subject: Unit docker.socket has finished shutting down

-- Defined-By: systemd

-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel

--

-- Unit docker.socket has finished shutting down.

1月 09 15:41:42 sv724 polkitd[5519]: Unregistered Authentication Agent for unix-process:7732:411527 (system bus name :1.103, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale ja_JP.UTF-8) (disconnected from bus)

1月 09 15:41:56 sv724 Connectd[5989]: Connectd in Wait State.

1月 09 15:41:56 sv724 Connectd[6045]: Connectd in Wait State.

1月 09 15:41:56 sv724 Connectd[6072]: Connectd in Wait State.

1月 09 15:42:01 sv724 crond[5918]: (root) RELOAD (/var/spool/cron/root)

1月 09 15:42:03 sv724 sudo[7742]: root : TTY=pts/0 ; PWD=/root ; USER=root ; COMMAND=/bin/crontab -u root -e

1月 09 15:42:03 sv724 sudo[7742]: pam_unix(sudo:session): session opened for user root by root(uid=0)

1月 09 15:42:03 sv724 crontab[7743]: (root) BEGIN EDIT (root)

1月 09 15:42:08 sv724 crontab[7743]: (root) REPLACE (root)

1月 09 15:42:08 sv724 crontab[7743]: (root) END EDIT (root)

1月 09 15:42:08 sv724 sudo[7742]: pam_unix(sudo:session): session closed for user root

1月 09 15:42:11 sv724 Connectd[5989]: Connectd in Wait State.

1月 09 15:42:11 sv724 Connectd[6045]: Connectd in Wait State.

1月 09 15:42:11 sv724 Connectd[6072]: Connectd in Wait State.

1月 09 15:42:17 sv724 Connectd[5989]: Waiting for IP address

1月 09 15:42:17 sv724 Connectd[6045]: Waiting for IP address

1月 09 15:42:17 sv724 Connectd[6072]: Waiting for IP address

1月 09 15:42:26 sv724 Connectd[5989]: Connectd in Wait State.

1月 09 15:42:26 sv724 Connectd[6045]: Connectd in Wait State.

1月 09 15:42:26 sv724 Connectd[6072]: Connectd in Wait State.

1月 09 15:42:41 sv724 Connectd[5989]: Connectd in Wait State.

1月 09 15:42:41 sv724 Connectd[6045]: Connectd in Wait State.

1月 09 15:42:41 sv724 Connectd[6072]: Connectd in Wait State.

1月 09 15:42:56 sv724 Connectd[5989]: Connectd in Wait State.

1月 09 15:42:56 sv724 Connectd[5989]: Waiting for IP address

1月 09 15:42:56 sv724 Connectd[6045]: Connectd in Wait State.

1月 09 15:42:56 sv724 Connectd[6045]: Waiting for IP address

1月 09 15:42:56 sv724 Connectd[6072]: Connectd in Wait State.

1月 09 15:42:56 sv724 Connectd[6072]: Waiting for IP address

1月 09 15:43:01 sv724 crond[5918]: (root) RELOAD (/var/spool/cron/root)

1月 09 15:43:11 sv724 Connectd[5989]: Connectd in Wait State.

1月 09 15:43:11 sv724 Connectd[6045]: Connectd in Wait State.

1月 09 15:43:11 sv724 Connectd[6072]: Connectd in Wait State.