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)

  • Build/push image from jenkins running in docker
  • IBM Containers (Dockers) service in Bluemix start before network service is ready
  • Meaning of Docker command
  • Import-Module posh-docker is not working
  • Why does fig try to 'echo' in my nearly-empty container?
  • How to setup Node environment variable in Dockerfile for running node.js application?
  • 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?

  • Docker Backup and restore postgres
  • Cannot create docker images
  • Docker run script in host on docker-compose up
  • 'docker build' gives error that 'docker run' doesn't. How are they different?
  • Unresponsive SonarQube in Kubernetes
  • Access denied when running phinx command on Docker 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.