Docker Community Forums

Share and learn in the Docker community.

Can't start docker service


(Akshsath) #1


While i’m trying to use docker its shows Error response from daemon: 404 page not found

Do you have any solution for this?

(Anoop) #2

You would need to provide more information if you expect anybody to help you.

What is your environment: OS, docker version etc? What do you mean ‘use docker’? Is it when you do docker ps or something else? Did you check the logs or dmesg etc?

(Akshsath) #3


Thanks for your valid response. The Docker version is 1.9.1 and OS is Ubuntu 15.04

 akshath@akshu:~$ 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 2015-12-14 11:05:03 IST; 31min ago
  Process: 798 ExecStart=/usr/bin/docker daemon -H fd:// (code=exited, status=1/FAILURE)
 Main PID: 798 (code=exited, status=1/FAILURE)

Dec 14 11:04:51 akshu systemd[1]: Starting Docker Application Container Eng.....
Dec 14 11:05:02 akshu docker[798]: time="2015-12-14T11:05:02.228536446+05:3...k"
Dec 14 11:05:02 akshu docker[798]: time="2015-12-14T11:05:02.795861431+05:3...""
Dec 14 11:05:03 akshu docker[798]: time="2015-12-14T11:05:03.668455924+05:3...e"
Dec 14 11:05:03 akshu docker[798]: time="2015-12-14T11:05:03.797819138+05:3...s"
Dec 14 11:05:03 akshu systemd[1]: docker.service: main process exited, code...RE
Dec 14 11:05:03 akshu systemd[1]: Failed to start Docker Application Contai...e.
Dec 14 11:05:03 akshu systemd[1]: Unit docker.service entered failed state.
Dec 14 11:05:03 akshu systemd[1]: docker.service failed.
Hint: Some lines were ellipsized, use -l to show in full.

(Anoop) #4

Firs thing, don’t you need to use sudo since you’re not root?

Secondly, I am not sure docker on ubuntu can use systemd. At least I am not familiar with the combination. So, can you try without systemd, like sudo service docker status and if that shows that docker is not running, try sudo service docker start or even sudo service docker restart.

Then running docker ps should show the familiar output of the containers running table.

(Akshsath) #5

Hi Anoop,

Thanks for your support…Fixed…:slight_smile: By Moving /var/lib/docker away solved the problem.