提示的錯誤爲
[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 unavailable
docker
使用ping測試,能夠互相通信,懷疑是防火牆問題。測試
使用下面命令查看防火牆狀態code
[root@localhost downloads]# firewall-cmd --state running
token
嘗試關閉防火牆ip
systemctl stop firewalld.service
rpc
再次嘗試,OK,問題解決cmd