mirror of
https://github.com/docker/docs.git
synced 2026-03-28 14:58:53 +07:00
Signed-off-by: Dong Chen <dongluo.chen@docker.com> (cherry picked from commit e1165cdfd1d666b1d4e041ef6a0d5fd049e041c1) Signed-off-by: Tibor Vass <tibor@docker.com>
999 B
999 B
Warning: this command is part of the Swarm management feature introduced in Docker 1.12, and might be subject to non backward-compatible changes.
update
Usage: docker node update [OPTIONS] NODE
Update a node
Options:
--availability string Availability of the node (active/pause/drain)
--help Print usage
--label-add value Add or update a node label (key=value) (default [])
--label-rm value Remove a node label if exists (default [])
--membership string Membership of the node (accepted/rejected)
--role string Role of the node (worker/manager)