Ubuntu 16.04 - > ERROR: Couldn't connect to Docker daemon - you might need to run `docker-machine start default`

docker-compose, ubuntu

Solution

assuming your environment variables are set using the following shell command :

eval "$(docker-machine env default)"

then you can find the exact error by running the following shell command:

docker-compose --verbose up -d

many times its a proxy issue or if your running it with charles proxy it can block compose from connecting etc. if it is a proxy issue you can add this to your profile:

export no_proxy=192.168.99.100

Problem

I am getting error on ubuntu 16.04 "ERROR: Couldn't connect to Docker daemon - you might need to run `docker- machine start default`. " when i run following command ``` sudo docker-compose up ``` Can any one answer ?

Original source

Related problems