The Problem:
While trying to setup Docker for Mac I kept getting the following error anytime I tried to spin up a Docker image:
Couldn’t connect to Docker daemon. You might need to start Docker for Mac.
All the fixes said do this:
eval “docker-machine env default”
I tried but kept getting
Host does not exist: “default”
The fix for me
I had to run this:
docker-machine create –driver virtualbox default
and then this:
eval “docker-machine env default”
Also, anytime you open a new terminal you’ll have to run
eval “docker-machine env default”