Docker – Couldn’t Connect to Docker Daemon


I got the error message “Couldn’t connect to Docker daemon” after trying to invoke docker-compose up -d command

The solution is quite simple:

  • Run docker-machine restart default
  • Run eval $(docker-machine env default)
Advertisements