以下操作可能需要科学上网.
推荐:
找到最新的Release版本,https://github.com/boot2docker/osx-installer/releases, 下载PKG,直接安装.
1. brew install boot2docker
2.brew install docker
#config To Dock Client
3.export DOCKER_HOST=tcp://127.0.0.1:4243
#inital start boot 2 docker
4.boot2docker init
推荐:
找到最新的Release版本,https://github.com/boot2docker/osx-installer/releases, 下载PKG,直接安装.