Docker Community Forums

Share and learn in the Docker community.

Docker daemon not starting via systemd on Centos


(Thetravellor) #1

Hi My dockerd is not starting on Centos 7.4 via Systemd

I am using Docker version 17.12.0-ce, build c97c6d6 on CentOS Linux release 7.4.1708 (Core).
Docker was installed from the stable yum repo.

It has worked, but seemed to fail recently with the following error:

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

systemctl status docker.service
● docker.service - Docker Application Container Engine
   Loaded: loaded (/usr/lib/systemd/system/docker.service; enabled; vendor preset: disabled)
  Drop-In: /etc/systemd/system/docker.service.d
           └─docker.conf
   Active: failed (Result: start-limit) since Sat 2018-01-27 23:22:39 AEDT; 11s ago
     Docs: https://docs.docker.com
  Process: 31936 ExecStart=/usr/bin/docker daemon $OPTIONS -H fd:// (code=exited, status=1/FAILURE)
 Main PID: 31936 (code=exited, status=1/FAILURE)

Jan 27 23:22:38 family.secureconsult.com.au systemd[1]: Failed to start Docker Application Cont...e.
Jan 27 23:22:38 family.secureconsult.com.au systemd[1]: Unit docker.service entered failed state.
Jan 27 23:22:38 family.secureconsult.com.au systemd[1]: docker.service failed.
Jan 27 23:22:39 family.secureconsult.com.au systemd[1]: docker.service holdoff time over, sched...t.
Jan 27 23:22:39 family.secureconsult.com.au systemd[1]: start request repeated too quickly for ...ce
Jan 27 23:22:39 family.secureconsult.com.au systemd[1]: Failed to start Docker Application Cont...e.
Jan 27 23:22:39 family.secureconsult.com.au systemd[1]: Unit docker.service entered failed state.
Jan 27 23:22:39 family.secureconsult.com.au systemd[1]: docker.service failed.

I can successfully start dockerd from the command line, and it will start the containers successfully, there appears to be some issue with the standard systemd startup script, I would very much appreciate some help in how I might debug/solve this.