4-10节运行docker报错:/usr/bin/dockerd -H tcp://0.0.0.0:2375 -H
来源:4-10 Docker Overlay网络和etcd实现多机容器通信
qq_蓝皮鼠_3
2018-04-06
[root@hidden4 etcd-v3.0.12-linux-amd64]# /usr/bin/dockerd -H tcp://0.0.0.0:2375 -H unix:///var/run/docker.sock --cluster-store=etcd://192.168.8.204:2379 --cluster-advertise=192.168.8.204:2375&
[1] 58109
[root@hidden4 etcd-v3.0.12-linux-amd64]# WARN[0000] [!] DON'T BIND ON ANY IP ADDRESS WITHOUT setting --tlsverify IF YOU DON'T KNOW WHAT YOU'RE DOING [!]
INFO[0000] libcontainerd: new containerd process, pid: 58116
WARN[0000] containerd: low RLIMIT_NOFILE changing to max current=1024 max=4096
WARN[0001] failed to rename /var/lib/docker/tmp for background deletion: %!s(<nil>). Deleting synchronously
INFO[0001] [graphdriver] using prior storage driver: overlay
INFO[0001] Graph migration to content-addressability took 0.00 seconds
INFO[0001] Initializing discovery without TLS
INFO[0001] Loading containers: start.
INFO[0001] Default bridge (docker0) is assigned with an IP address 172.17.0.0/16. Daemon option --bip can be used to set a preferred IP address
INFO[0001] Loading containers: done.
FATA[0001] Error creating cluster component: --cluster-store and --cluster-advertise daemon configurations are incompatible with swarm mode
Docker版本:
[ht03@hidden4 ~]$ docker version
Client:
Version: 17.05.0-ce
API version: 1.29
Go version: go1.7.5
Git commit: 89658be
Built: Thu May 4 22:06:25 2017
OS/Arch: linux/amd64
Server:
Version: 17.05.0-ce
API version: 1.29 (minimum version 1.12)
Go version: go1.7.5
Git commit: 89658be
Built: Thu May 4 22:06:25 2017
OS/Arch: linux/amd64
Experimental: false
3回答
-
麦兜搞IT
2018-04-08
您的etcd cluster是正常的是吧?
$ ./etcdctl cluster-health member 21eca106efe4caee is healthy: got healthy result from http://192.168.205.10:2379 member 8614974c83d1cc6d is healthy: got healthy result from http://192.168.205.11:2379 cluster is healthy
然后之前默认运行的docker都停止了是吧?
00 -
qq_蓝皮鼠_3
提问者
2018-04-07
点击错了
00 -
麦兜搞IT
2018-04-06
您好,我感觉您的docker版本有问题。您能运行下docker version我看看么?
00
相似问题