安装与启动
直接从github下载二进制文件安装。
docker_host1(服务器1):
下载weave
# sudo wget -O /usr/local/bin/weave https://raw.githubusercontent.com/zettio/weave/master/weave
更改weave权限
# sudo chmod a+x /usr/local/bin/weave
启动weave
# weave launch
查看安装是否成功和是否启动weave
docker_host2(服务器2):
下载weave
# sudo wget -O /usr/local/bin/weave https://raw.githubusercontent.com/zettio/weave/master/weave
更改weave权限
# sudo chmod a+x /usr/local/bin/weave
运行容器:
# weave run 192.168.0.2/24 -itd --name ubuntu bash