The docker daemon refuses to start on my system. I’ve attempted to kill it, but it restarts again right away, and then stops instantly. I know it stops instantly, because of the output in dmesg
:
init: docker main process (25641) terminated with status 1
init: docker main process ended, respawning
init: docker main process (25675) terminated with status 1
init: docker main process ended, respawning
init: docker main process (25709) terminated with status 1
init: docker main process ended, respawning
init: docker main process (25743) terminated with status 1
init: docker main process ended, respawning
init: docker main process (25777) terminated with status 1
init: docker main process ended, respawning
init: docker main process (25811) terminated with status 1
init: docker main process ended, respawning
init: docker main process (25845) terminated with status 1
init: docker main process ended, respawning
init: docker main process (25879) terminated with status 1
init: docker main process ended, respawning
init: docker main process (25913) terminated with status 1
init: docker main process ended, respawning
init: docker main process (25947) terminated with status 1
init: docker main process ended, respawning
init: docker main process (25981) terminated with status 1
init: docker respawning too fast, stopped
The error message I get in /var/logs/upstart/docker.log
is
INFO[0000] +job serveapi(unix:///var/run/docker.sock)
INFO[0000] Listening for HTTP on unix (/var/run/docker.sock)
FATA[0000] EOF
INFO[0000] +job serveapi(unix:///var/run/docker.sock)
INFO[0000] Listening for HTTP on unix (/var/run/docker.sock)
FATA[0000] EOF
INFO[0000] +job serveapi(unix:///var/run/docker.sock)
INFO[0000] Listening for HTTP on unix (/var/run/docker.sock)
FATA[0000] EOF
INFO[0000] +job serveapi(unix:///var/run/docker.sock)
INFO[0000] Listening for HTTP on unix (/var/run/docker.sock)
FATA[0000] EOF
INFO[0000] +job serveapi(unix:///var/run/docker.sock)
INFO[0000] Listening for HTTP on unix (/var/run/docker.sock)
FATA[0000] EOF
INFO[0000] +job serveapi(unix:///var/run/docker.sock)
INFO[0000] Listening for HTTP on unix (/var/run/docker.sock)
FATA[0000] EOF
INFO[0000] +job serveapi(unix://var/run/docker.sock)
INFO[0000] Listening for HTTP on unix (var/run/docker.sock)
FATA[0000] EOF
INFO[0000] +job serveapi(unix://var/run/docker.sock)
INFO[0000] Listening for HTTP on unix (var/run/docker.sock)
FATA[0000] EOF
INFO[0000] +job serveapi(unix://var/run/docker.sock)
INFO[0000] Listening for HTTP on unix (var/run/docker.sock)
FATA[0000] EOF
INFO[0000] +job serveapi(unix://var/run/docker.sock)
FATA[0000] EOF
INFO[0000] +job serveapi(unix://var/run/docker.sock)
INFO[0000] Listening for HTTP on unix (var/run/docker.sock)
FATA[0000] EOF
INFO[0000] +job serveapi(unix://var/run/docker.sock)
INFO[0000] Listening for HTTP on unix (var/run/docker.sock)
FATA[0000] EOF
INFO[0000] +job serveapi(unix://var/run/docker.sock)
INFO[0000] Listening for HTTP on unix (var/run/docker.sock)
FATA[0000] EOF
INFO[0000] +job serveapi(unix://var/run/docker.sock)
FATA[0000] EOF
INFO[0000] +job serveapi(unix://var/run/docker.sock)
INFO[0000] Listening for HTTP on unix (var/run/docker.sock)
FATA[0000] EOF
INFO[0000] +job serveapi(unix://var/run/docker.sock)
INFO[0000] Listening for HTTP on unix (var/run/docker.sock)
FATA[0000] EOF
INFO[0000] +job serveapi(unix://var/run/docker.sock)
FATA[0000] EOF
I get the same error message when I try sudo docker -d
. The result is that the docker client is unable to connect to the docker server:
$ sudo docker info
FATA[0000] Cannot connect to the Docker daemon. Is 'docker -d' running on this host?
Any idea what might be wrong here?