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

 

 

©️2020 CSDN 皮肤主题: 编程工作室 设计师: CSDN官方博客 返回首页
实付0元
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、C币套餐、付费专栏及课程。

余额充值