2016-06-13 22:57:19 -04:00
|
|
|
<!--[metadata]>
|
|
|
|
+++
|
|
|
|
title = "node update"
|
|
|
|
description = "The node update command description and usage"
|
|
|
|
keywords = ["resources, update, dynamically"]
|
|
|
|
[menu.main]
|
|
|
|
parent = "smn_cli"
|
|
|
|
+++
|
|
|
|
<![end-metadata]-->
|
|
|
|
|
|
|
|
**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
|
|
|
|
|
2016-06-17 00:28:07 -04:00
|
|
|
Options:
|
|
|
|
--availability string Availability of the node (active/pause/drain)
|
|
|
|
--help Print usage
|
|
|
|
--membership string Membership of the node (accepted/rejected)
|
|
|
|
--role string Role of the node (worker/manager)
|
|
|
|
|
2016-06-13 22:57:19 -04:00
|
|
|
|
|
|
|
|
|
|
|
## Related information
|
|
|
|
|
|
|
|
* [node inspect](node_inspect.md)
|
|
|
|
* [node tasks](node_tasks.md)
|
|
|
|
* [node ls](node_ls.md)
|
|
|
|
* [node rm](node_rm.md)
|