docker overlay网络创建好之后同一个overlay网络下的容器不通。求助。


主机:10.47.234.95
10.47.231.48
key-value配置:
DOCKER_OPTS="-H tcp://0.0.0.0:2375 -H unix:///var/run/docker.sock --cluster-store consul://10.47.234.95:8500 --cluster-advertise 10.47.234.95:2375"
DOCKER_OPTS="-H tcp://0.0.0.0:2375 -H unix:///var/run/docker.sock --cluster-store consul://10.47.231.48:8500 --cluster-advertise 10.47.231.48:2375"

root@host-10-47-231-48:/var/run# curl http://10.47.231.48:8500/v1/status/leader
"10.47.231.48:8300"
root@host-10-47-231-48:/var/run# curl http://10.47.231.48:8500/v1/status/peers

docker版本:1.12.3

网络:
root@host-10-47-231-48:/home# docker network ls
NETWORK ID NAME DRIVER SCOPE
09635093635f 55multihost overlay global

6222a607aa7b bridge bridge local

817a38c3c4eb docker_gwbridge bridge local

8f0ebb12e910 firenet overlay global

f2a3d889a3b9 harbor_default bridge local

06424f7580eb host host local

5fad2cbdf7dc multihost overlay global

20c4cd9fba88 none null local

0b9c1b54274d shl overlay global

192.168.55.6 与 192.168.55.5不通
root@host-10-47-231-48:/home# docker network inspect 55multihost
已邀请:

henry_hlong - docker学习

赞同来自:


已解决宿主机内核版本太低3.13 升级到4.20之后正常了

要回复问题请先登录注册