请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

4-10节运行docker报错:/usr/bin/dockerd -H tcp://0.0.0.0:2375 -H

[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

3回答

麦兜搞IT 2018-04-08 09:07:14

您的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都停止了是吧?

0 回复 有任何疑惑可以回复我~
提问者 qq_蓝皮鼠_3 2018-04-07 09:18:01

点击错了

0 回复 有任何疑惑可以回复我~
麦兜搞IT 2018-04-06 20:45:39

您好,我感觉您的docker版本有问题。您能运行下docker version我看看么?

0 回复 有任何疑惑可以回复我~
问题已解决,确定采纳
还有疑问,暂不采纳
意见反馈 帮助中心 APP下载
官方微信