Facing the weird following issue
cannot connect to the docker daemon at unix:///var/run/docker.sock. is the docker daemon running?
1. Running Docker on OS X : running the following eval has worked for me.
eval "$(docker-machine env default)"
2 If you do not want to run this eval statement on every terminal session then you can add this to your bash_profile:
#Docker eval "$(docker-machine env default)"
3. Please make sure to restart the terminal session or run source on bash_profile for the changes to take effect.