docker-node - Man Page
Manage Swarm nodes
Examples (TL;DR)
- List nodes in the swarm:
docker node ls
- List tasks running on one or more nodes, defaults to the current node:
docker node ps node1 node2 node3 ...
- Display detailed information on one or more nodes:
docker node inspect node1 node2 node3 ...
- Promote one or more nodes to manager in the swarm:
docker node promote node1 node2 node3 ...
- Demote one or more nodes from manager in the swarm:
docker node demote node1 node2 node3 ...
- Remove one or more nodes from the swarm:
docker node rm node1 node2 node3 ...
- Update metadata about a node, such as its availability, labels, or roles:
docker node update --availability|role|label-add|... active|worker|foo|... node1
Synopsis
docker node
Description
Manage Swarm nodes
Options
-h, --help[=false] help for node
See Also
docker(1), docker-node-demote(1), docker-node-inspect(1), docker-node-ls(1), docker-node-promote(1), docker-node-ps(1), docker-node-rm(1), docker-node-update(1)
Referenced By
docker-node-demote(1), docker-node-inspect(1), docker-node-ls(1), docker-node-promote(1), docker-node-ps(1), docker-node-rm(1), docker-node-update(1).
Sep 2024 Docker Community Docker User Manuals