ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install caskroom/cask/brew-cask
Install Virtualbox
brew update
brew cask install virtualbox
Docker Machine
brew update
brew install docker-machine docker
docker-machine create --driver virtualbox default
eval "$(docker-machine env default)"
Is it working?
docker run hello-world