Browse Source

swarm

master
test2 5 years ago
parent
commit
9deeffcd8d
  1. 21
      DockerSwarm/Creaate-Swarm.adoc

21
DockerSwarm/Creaate-Swarm.adoc

@ -156,4 +156,25 @@ You can use the *--force* option on a manager to remove it from the swarm.
====
The safe way to remove a manager from a swarm is to *demote* it to a worker and then direct it to leave the quorum without using --force
----
docker node demote id
----
====
== Manage nodes
- *docker node demote* Demote one or more nodes from manager in the swarm
- *docker node inspect* Display detailed information on one or more nodes
- *docker node ls* List nodes in the swarm
- *docker node promote* Promote one or more nodes to manager in the swarm
- *docker node ps* List tasks running on one or more nodes, defaults to current node
- *docker node rm* Remove one or more nodes from the swarm
- *docker node update* Update a node

Loading…
Cancel
Save