Docker error: Can not connect to the Docker daemon. Is the docker daemon running on this host? [closed]

1

I'm new to Docker, and I'm having a problem when I view existing containers or any other information.

When running for example:                 Docker ps. You receive the following error message: Can not connect to the Docker daemon. Is the docker daemon running on this host?

The OS I'm using is Linux Ubuntu

Thank you in advance.

    
asked by anonymous 24.12.2015 / 06:59

1 answer

3

Make sure that Docker Daemon is running with the command service docker status , if not a start with service docker start and check that the error persists.

  

If the docker user does not belong to the same group from the login used   for you, add it to the group, sudo usermod -aG docker <seusuario>

If it persists and you can reinstall, please follow the instructions in the official documentation, it will have the latest version, but first remove the current version.

link

    
24.12.2015 / 13:59