DOCKER MAC code example
Example 1: 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
Example 2: install docker on mac
softwareupdate --install-rosetta
Example 3: docker run in mac
docker container run --name web -d -p 8080:80 -v
$PWD:/usr/share/nginx/html:ro -d nginx