brew install docker code example
Example 1: docker-machine install mac brew
brew install docker docker-machine
Example 2: brew install docker
$ 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
Example 3: apt install docker
$ sudo apt-get remove docker docker-engine docker.io containerd runc