1 假设已有多台已经安装了docker的宿主机
2.在多台宿主机上安装weave: curl -L https://github.com/weaveworks/weave/releases/download/v2.3.0/weave -o /usr/bin/weave && chmod +x /usr/bin/weave
3.在master主机上执行 shell: weave launch
4.再其他节点上执行 shell weave launch masterip 例如 weave launch 172.18.11.230
5.
By executing the command below, the Docker CLI will be configured to talk to the Weave proxy instead of the Docker Host directly.
eval $(weave env)