Docker Community Forums

Share and learn in the Docker community.

Docker daemon wont start on ubuntu 17.04

docker

(Qwertie) #1

I followed the guide on https://docs.docker.com/engine/installation/linux/docker-ce/ubuntu/ for installing docker on ubuntu 17.04, The docker command installed but the daemon wont run.

▸ sudo service docker start                                                                                    
[sudo] password for user: 
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 (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Mon 2017-10-09 18:49:44 ACDT; 2s ago
     Docs: https://docs.docker.com
  Process: 27907 ExecStart=/usr/bin/dockerd -H fd:// (code=exited, status=1/FAILURE)
 Main PID: 27907 (code=exited, status=1/FAILURE)
      CPU: 81ms

Oct 09 18:49:43 user systemd[1]: docker.service: Unit entered failed state.
Oct 09 18:49:43 user systemd[1]: docker.service: Failed with result 'exit-code'.
Oct 09 18:49:44 user systemd[1]: docker.service: Service hold-off time over, scheduling restart.
Oct 09 18:49:44 user systemd[1]: Stopped Docker Application Container Engine.
Oct 09 18:49:44 user systemd[1]: docker.service: Start request repeated too quickly.
Oct 09 18:49:44 user systemd[1]: Failed to start Docker Application Container Engine.
Oct 09 18:49:44 user systemd[1]: docker.service: Unit entered failed state.
Oct 09 18:49:44 user systemd[1]: docker.service: Failed with result 'exit-code'.

Not sure what to do from here. Couldn’t find any answers online. I can run docker from my terminal but I get

Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

Anyone have any ideas what I could try to get this working?


(Smcaterpillar) #2

I have probably a similar or the same issue: Cannot install docker on fresh Ubuntu 17 Server, docker is missing permissions to operate in /var/lib/docker


(Bgjelstrup) #3

wow, no fix huh? i am also having this issue now, had it running before, everyone keeps pushing me to ubuntu and luiux, not a fan. bring me back to windows XD