terminal安装homebrew:
bash
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
homebrew安装docker:
bash
brew install docker
打开docker执行:
bash
open /Applications/Docker.app