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?

  • How to view php logs information with php docker container?
  • All images and containers disappeared after host kernel downgrade
  • Connect to cassandra inside docker from other server
  • What on premises container management solutions are there?
  • Custom port forwarding to docker container
  • INFO: I/O exception ( caught when processing request to {}->unix://localhost:80: Permission denied
  • Docker - proxy container port on host
  • Docker - Properly Mounting Host Directory in Docker Container (Windows)
  • How to run executable jar in docker
  • Docker - Does the container OS need to be same as Host OS
  • Ansible how to push local image to private registry
  • Can you explain roles of swarm machine?
  • 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.