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,220 points
1,879 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
• 52,350 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
• 7,060 points
1,847 views
+3 votes
1 answer

Docker swarm, not service not deploying to other nodes

Hi @Karenh. Try removing all the old images ...READ MORE

answered Jan 31, 2020 in Docker by Aisha
2,387 views
+2 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
3,932 views
+3 votes
4 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, 2019 in Docker by Vaidya
18,781 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
• 52,350 points
691 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP