Nodes not able to join docker swarm cluster

+2 votes
I have done the init statement on the master and got the command for the worker nodes to join the cluster, but when i execute that command, its not joining the cluster.Whats the problem here?
Sep 26, 2018 in Docker by lina
• 8,110 points
220 views

1 answer to this question.

0 votes
You need to provide more information like the error message when you execute the join command.

Also you need to keep this one thing in mind especially when you're adding a node that is running on the same system just different virtual machine. change the IP address of the worker node because when you're trying to connect a worker node that's working on the same system just on different virtual machine, it'll have the same IP address as the master which will prevent the node from joining.
answered Sep 26, 2018 by Kalgi
• 41,470 points

Related Questions In Docker

0 votes
1 answer
0 votes
1 answer

swarm manager does not connect to nodes docker daemons on AWS

You first need to ssh into the ...READ MORE

answered Aug 24, 2018 in Docker by Nilesh
• 6,880 points
94 views
0 votes
1 answer

Terraform unable to get docker to join swarm

4th line of your code is incomplete You ...READ MORE

answered Aug 24, 2018 in Docker by Nilesh
• 6,880 points
101 views
0 votes
1 answer
+5 votes
7 answers

Docker swarm vs kubernetes

Swarm is easy handling while kn8 is ...READ MORE

answered Aug 27, 2018 in Docker by Mahesh Ajmeria
1,020 views
+3 votes
3 answers

Not able to connect worker nodes to the swarm. Connection refused error

This definitely has to be a firewall issue. ...READ MORE

answered Apr 26 in Docker by Vaidya
4,237 views
0 votes
1 answer

Can you use docker-compose files to start services in Docker 1.12 swarm-mode?

Yess, you can. you must download/install the ...READ MORE

answered Aug 10, 2018 in Docker by Kalgi
• 41,470 points
41 views