fabric cello

1.work节点安装运行docker-daemon

执行:

$ sudo systemctl stop docker.service
$ sudo dockerd -H fd:// -H unix:///var/run/docker.sock -H tcp://0.0.0.0:2375 --default-ulimit = nofile = 8192:16384 --default-ulimit = nproc = 8192:16384 -D &

报错:

 Failed to load listeners: no sockets found via socket activation: make sure the service was started by systemd

解决:

去掉 -H fd://

2.master测试链接work

执行:

$ docker -H 192.168.0.13:2375 info

报错:
error during connect: Get http://192.168.0.13:2375/v1.38/info: dial tcp 192.168.0.13:2375: connect: no route to host

解决:

开放2375端口

firewall-cmd --permanent --add-port=2375/tcp

firewall-cmd --reload

 

 

你可能感兴趣的:(cello)