How to disable docker swarm mode

0 votes

Hi Guys,

I have enabled the docker swarm for local testing. Now I want to disable the swarm mode on the cluster. How to do that?

Dec 28, 2020 in Docker by akhtar
• 38,170 points
114 views

1 answer to this question.

0 votes

Hi@akhtar,

You can use the docker swarm leave command in your worker node to leave from the swarm.  But if you want to leave from the manager node, then you need to use the below command.

$ docker swarm leave --force
answered Dec 28, 2020 by MD
• 95,180 points

Related Questions In Docker

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
• 7,320 points
512 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,310 points
144 views
0 votes
1 answer

How to enable/ disable Hyper-V for Docker on Windows?

You can do this from command prompt ...READ MORE

answered Sep 10, 2018 in Docker by Tyrion anex
• 8,660 points
4,276 views
0 votes
1 answer

How to disable networking stack for a docker container?

If you want to completely disable the ...READ MORE

answered Jul 4, 2019 in Docker by Sirajul
• 59,050 points
1,310 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
1,519 views
0 votes
1 answer

How to create a Docker swarm in Linux system?

Hi@akhtar, You need to initialize one node with ...READ MORE

answered Dec 24, 2020 in Docker by MD
• 95,180 points
70 views
0 votes
1 answer

How to add one worker node to the Docker swarm?

Hi@akhtar, You will get one token when you ...READ MORE

answered Dec 24, 2020 in Docker by MD
• 95,180 points
60 views