ERROR: Couldn't connect to Docker daemon - you might need to run `docker-machine start default`. code example
Example 1: macbook Couldn't connect to Docker daemon - you might need to run `docker-machine start default`
$ docker-machine restart default
$ eval $(docker-machine env default)
Example 2: In the default daemon configuration on Windows , the docker client must be run elevated to connect.
docker-machine env --shell cmd default
Example 3: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock
sudo chmod 666 /var/run/docker.sock