centos7 docker swarm加入集羣失敗

提示的錯誤爲
[root@localhost downloads]# docker swarm join --token SWMTKN-1-2ezr0k5ybds1la4vgi2z7j8ykxkmm0bd07jr00x534b299ip0p-3cbnr4zqwmpj8oj26388rr346 192.168.3.66:2377 Error response from daemon: rpc error: code = Unavailable desc = grpc: the connection is unavailabledocker

使用ping測試,能夠互相通信,懷疑是防火牆問題。測試

使用下面命令查看防火牆狀態code

[root@localhost downloads]# firewall-cmd --state runningtoken

嘗試關閉防火牆ip

systemctl stop firewalld.servicerpc

再次嘗試,OK,問題解決cmd

相關文章
相關標籤/搜索