Docker – Couldn't connect to Docker daemon

I started getting a

ERROR: Couldn't connect to Docker daemon - you might need to run `docker-machine start default`. 

but i am not using docker-machine (Although i have version 0.5.2 installed)

  • Dockerizing npm & bower install using the digitallyseamless/nodejs-bower-grunt docker image
  • Play Framework app in Docker is not working
  • .pac files for ubuntu - command line
  • How to delete all running docker containers?
  • Error “Could not find rake-10.5.0 in any of the sources” on Phusion Passenger Docker image
  • hosting WordPress on Docker or on Physical host
  • I am running docker directly in my Ubuntu 14.04 LTS with Docker 1.11.0 e Docker-compose 1.7.0.

    Why am i getting this error? Should i uninstall docker-machine since i don’t use it or upgrade it? Is the problem something else?

  • shared library issue with the system function in R
  • Unable to connect with container running in multiple host (Destination Host unreachable) [closed]
  • How to create autostart services in Docker container?
  • How to install telnet in Docker for Windows 10
  • Local docker volume with write permission from www-data
  • Why are my non-volume data in Docker container persistence after restarting the container?
  • One Solution collect form web for “Docker – Couldn't connect to Docker daemon”

    It is hard to know what might be going on without some more information. But outside of Docker Machine, the error is usually because your user isn’t in the docker group. By default, the socket doesn’t allow users other than root to use the socket.

    You can find more information and the solution at But usually you just need to add your user to the docker group with command sudo usermod -aG docker $USER.

    However, you need to be aware that this is the equivalent of granting root permissions to that user. You are allowing that user to run Docker containers that can mount folders as root.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.