I had docker on my ubuntu and I do not remember going through much for installing docker on ubuntu .
But for MAC i had to follow these instructions ( in case anybody is looking for these)
But for MAC i had to follow these instructions ( in case anybody is looking for these)
brew install docker
brew install boot2docker
boot2docker up
boot2docker init
boot2docker up
export DOCKER_HOST=tcp://192.168.59.103:2375
export DOCKER_CERT_PATH=/Users/yours/.boot2docker/certs/boot2docker-vm
export DOCKER_TLS_VERIFY=1
boot2docker ip