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)

  • How to determine bridge IP of docker swarm container
  • Unable to access Rancher UI after installed using docker
  • What does |1 mean in Docker history
  • Duplicate mappings when building docker package using sbt-native-packager
  • Docker, no IPAddress in docker inspect
  • How can I submit a Spark job to YARN cluster with Docker Container Executor as YARN container?
  • 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?

  • How to access docker web app through ssh?
  • I want to share code content across several containers using docker-compose volume directive
  • Docker FATAL: could not write lock file “”: No space left on device
  • How to deploy Spring Boot application to Google Managed VM
  • Subscription in Sensu
  • “docker-compose build” is showing me help text when I specify a file
  • 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.