Couldn't connect to Docker daemon on ubuntu

I am using docker-compose-version 1.7.0,
Not using docker machine:
$ docker-machine ls
NAME ACTIVE DRIVER STATE URL SWARM DOCKER ERRORS

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?

  • Why docker pings second-level domain
  • Committing container changes of files generated in /workspace (even using makefile) doesn't persist into new instances of the image
  • Docker Compose - Remove dangling service
  • How to build a docker container for a java app
  • Passing or setting password parameter to mercurial during docker build
  • Docker support intellij
  • Attack vectors when running untrusted docker images
  • Upgrade docker-compose version on windows 7
  • Docker on Mac: how to test for listen port in container
  • Docker Google cloud
  • Change Docker memory from the command line
  • Azure App hosted docker port 25
  • 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
    https://askubuntu.com/questions/477551/how-can-i-use-docker-without-sudo

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