Docker1.12 Worker not able to join in cluster(Swarm: Pending)

后端 未结 6 1067
南旧
南旧 2021-01-13 23:56

Manager Version Docker version 1.12.0-rc5, build a3f2063,

Worker version Docker version 1.12.0-rc5, build a3f2063.

Created Swarm m

6条回答
  •  攒了一身酷
    2021-01-14 00:37

    For me it was a firewall issue too.

    1. I tried to ping to the manager node and was pinging back

    2. Checked if the ports are opening using telnet and was not able to connect and figured out it was the port issue.

    If you are running Centos than the port can be easily opened using the firewalld

    Check if the firewalld is running

    sudo firewall-cmd --state
    

    Opening the port you want

    sudo firewall-cmd --zone=public --add-port=2377/tcp
    

    Change the port as per your node ports it is trying to connect to.

提交回复
热议问题