- Install the VirtualBox, run:
brew cask install virtualbox - Install some Docker stuff, run:
brew install docker docker-machine docker-compose - If you don't have any machine yet, run:
docker-machine create - Add some envs to terminal, run:
echo "eval $(docker-machine env)" >> ~/.zshrc - Edit host file proxying local domains to
docker-machine ip, runsudo vim /etc/hostsand paste the code below: