Nothing has changed that I know about. Upon running the command: docker ps the shell reports:

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

Exploring further i.e. with the daemon:

enter image description here

I'm expecting to see either a list of running containers or an empty list. Whats happening with my Docker engine?

  • Your Docker engine service is not running, systemd is reporting that attempts to start the Docker service have failed. What do the Docker logs say when you try to start the Docker service? Oct 14, 2019 at 19:14
  • 2
    Please don't post images of text. Copy and paste the text itself into your question and format it as code by selecting it and pressing Ctrl-K or by using the editor's {} icon.
    – cas
    Oct 15, 2019 at 3:46

1 Answer 1


I'm on Ubuntu 19.04

The following steps worked for me;

$ sudo dockerd 
unable to configure the Docker daemon with file /etc/docker/daemon.json: EOF

Then read somewhere that daemon.json shouldn't be present. So,

$ sudo rm /etc/docker/daemon.json


$ sudo dockerd 

and the docker service is up-and-running again.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.