brew docker code example
Example 1: docker-machine install mac brew
brew install docker docker-machine
Example 2: installing docker on mac using brew
$ brew install docker docker-machine$ brew cask install virtualbox-> need password-> possibly need to address System Preference setting$ docker-machine create --driver virtualbox default$ docker-machine env default$ eval "$(docker-machine env default)"$ docker run hello-world$ docker-machine stop default