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 ?
Docker daemon is not running – Resolution 1: Restart Docker service. This error meant the docker daemon is unreachable. Docker daemon fails to start up on Windows or stops for some reason and especially when you try to run any commands. To fix such types of issues restarting the service will resolve the error.
Try to bring it up by running sudo systemctl start docker . The status should change to active (running) after the daemon starts.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With