Couldn't connect to Docker daemon on ubuntu

I am using docker-compose-version 1.7.0,
Not using docker machine:
$ docker-machine ls

it all worked perfectly for weeks…
Now when i try running
docker-compose up
i get this error:
Couldn't connect to Docker daemon-you might need to run docker-machine start default.
I cant figure out what happened, any ideas?

  • serving multiple docker microservices behind nginx proxy
  • docker Unable to connect to [IP: 80]
  • docker push to private registry hangs
  • In docker run, how to set multi-value in --ulimit
  • Alternative to supervisord for docker
  • How to use docker with volume and device as an action in the Openwhisk
  • how to mount volume in ElasticBeanstalk Docker container using only
  • Docker Host And Other Fundamental Questions
  • Adding an ECS instance in AWS - where to set the cluster name
  • How to switch between active docker machine on window
  • How to use the Docker Build Step Jenkins plugin?
  • Creating bash script from Dockerfile strips comments
  • One Solution collect form web for “Couldn't connect to Docker daemon on ubuntu”

    Run it with sudo.
    Its bad to run docker with sudo so you should add your user to the docker group

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