2017-03-27 05:10:58 -04:00
|
|
|
|
|
|
|
---
|
|
|
|
title: "node"
|
|
|
|
description: "The node command description and usage"
|
|
|
|
keywords: "node"
|
|
|
|
---
|
|
|
|
|
2017-10-04 13:03:55 -04:00
|
|
|
<!-- This file is maintained within the docker/cli GitHub
|
2017-07-28 13:28:23 -04:00
|
|
|
repository at https://github.com/docker/cli/. Make all
|
2017-03-27 05:10:58 -04:00
|
|
|
pull requests against that repo. If you see this file in
|
|
|
|
another repository, consider it read-only there, as it will
|
|
|
|
periodically be overwritten by the definitive file. Pull
|
|
|
|
requests which include edits to this file in other repositories
|
|
|
|
will be rejected.
|
|
|
|
-->
|
|
|
|
|
|
|
|
# node
|
|
|
|
|
|
|
|
```markdown
|
|
|
|
Usage: docker node COMMAND
|
|
|
|
|
|
|
|
Manage Swarm nodes
|
|
|
|
|
|
|
|
Options:
|
|
|
|
--help Print usage
|
|
|
|
|
|
|
|
Commands:
|
|
|
|
demote Demote one or more nodes from manager in the swarm
|
|
|
|
inspect Display detailed information on one or more nodes
|
|
|
|
ls List nodes in the swarm
|
|
|
|
promote Promote one or more nodes to manager in the swarm
|
|
|
|
ps List tasks running on one or more nodes, defaults to current node
|
|
|
|
rm Remove one or more nodes from the swarm
|
|
|
|
update Update a node
|
|
|
|
|
|
|
|
Run 'docker node COMMAND --help' for more information on a command.
|
|
|
|
```
|
|
|
|
|
|
|
|
## Description
|
|
|
|
|
|
|
|
Manage nodes.
|
|
|
|
|