mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00

- Update ps with `--last` flag
- Update commands with current output
- Make sure hugo does not detect the wrong language
- Update usage for `tag` command to be more coherent with the other ones
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
(cherry picked from commit f4cfc6b983
)
Signed-off-by: Tibor Vass <tibor@docker.com>
33 lines
844 B
Markdown
33 lines
844 B
Markdown
<!--[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
|
|
|
|
```markdown
|
|
Usage: docker node update [OPTIONS] NODE
|
|
|
|
Update a node
|
|
|
|
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)
|
|
```
|
|
|
|
|
|
## Related information
|
|
|
|
* [node inspect](node_inspect.md)
|
|
* [node tasks](node_tasks.md)
|
|
* [node ls](node_ls.md)
|
|
* [node rm](node_rm.md)
|