Restore a docker swarm

0 votes
I have a swarm cluster where there is one manager and three workers. I have taken a daily backup just in case of breakdown. There was some issue with one of the worker and its all a mess now. I was trying to restore this cluster. i expected something like this to happen- one manager three workers, but for some reason only my manager is getting restored and not the workers. I'm getting one manager and zero workers.

Is there something more to be done? Am I missing out on something?
Aug 24, 2018 in Docker by lina
• 8,100 points
15 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes
If there is something wrong only with one of the worker there's an easy way to go about this.

You can do docker swarm leave on that one worker and join again. Anyways you wont lose any of your workings as the manager is perfectly fine. And on the manager you can always clean up the mess old worker had made.

I wouldn't recommend restoring workers.
answered Aug 24, 2018 by Nilesh
• 6,900 points

Related Questions In Docker

0 votes
1 answer
+4 votes
4 answers

How To Access a Service on Host From a Docker Container?

Adding to kalgi's answer, You can also ...READ MORE

answered Oct 16, 2018 in Docker by lina
• 8,100 points

edited Oct 16, 2018 by lina 2,487 views
0 votes
1 answer

How do I scale in Docker Swarm Mode W/Terraform Digital Ocean Load Balancing

The solution you could build for Digital ...READ MORE

answered Jun 19, 2018 in Docker by shubham
• 6,560 points
144 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
842 views
0 votes
1 answer

Docker-Swarm: Join a docker-swarm from another subnet

You need the following ports open between ...READ MORE

answered Aug 22, 2018 in Docker by Nilesh
• 6,900 points
115 views
0 votes
1 answer

Persisting data in a docker swarm with glusterfs

You will have to create a volume ...READ MORE

answered Aug 24, 2018 in Docker by Nilesh
• 6,900 points
428 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.