shipyard-swarm-agent 运行一段时间之后,访问本地etcd 的问题


我根据下面的官方文档安装了 shipyard:
http://shipyard-project.com/docs/deploy/manual/

启动 shipyard-swarm-agent 容器的命令如下:

docker run \
-ti \
-d \
--restart=always \
--name shipyard-swarm-agent \
swarm:latest \
join --addr 192.168.1.6:2375 etcd://192.168.1.6:4001

刚启动的时候正常,但是运行几分钟之后,shipyard-swarm-agent 就不再访问 192.168.1.6:4001 上面的etcd服务,而是访问本地127.0.0.1:4001 的etcd服务,日志如下:
INFO Registering on the discovery service every 20s... addr=192.168.1.6:2375 discovery=etcd://192.168.1.6:4001
INFO Registering on the discovery service every 20s... addr=192.168.1.6:2375 discovery=etcd://192.168.1.6:4001
INFO Registering on the discovery service every 20s... addr=192.168.1.6:2375 discovery=etcd://192.168.1.6:4001
INFO Registering on the discovery service every 20s... addr=192.168.1.6:2375 discovery=etcd://192.168.1.6:4001
INFO Registering on the discovery service every 20s... addr=192.168.1.6:2375 discovery=etcd://192.168.1.6:4001
ERRO 501: All the given peers are not reachable (failed to propose on members twice )

INFO Registering on the discovery service every 20s... addr=192.168.1.6:2375 discovery=etcd://192.168.1.6:4001
ERRO 501: All the given peers are not reachable (failed to propose on members twice )

INFO Registering on the discovery service every 20s... addr=192.168.1.6:2375 discovery=etcd://192.168.1.6:4001
ERRO 501: All the given peers are not reachable (failed to propose on members twice )

这个问题是什么原因?
已邀请:

longmeng

赞同来自:


听说是官网的手动安装文档有问题,使用自动安装就可以了。

王传义

赞同来自:


如何解决 网关设置 我自动安装之后无法访问

要回复问题请先登录注册