mirror of https://github.com/docker/cli.git
update command description in CLI
Signed-off-by: allencloud <allen.sun@daocloud.io>
This commit is contained in:
parent
958d9a4844
commit
0ab07d2bd7
|
@ -786,7 +786,7 @@ __docker_node_commands() {
|
|||
"inspect:Display detailed information on one or more nodes"
|
||||
"ls:List nodes in the swarm"
|
||||
"promote:Promote a node as manager in the swarm"
|
||||
"rm:Remove a node from the swarm"
|
||||
"rm:Remove one or more nodes from the swarm"
|
||||
"ps:List tasks running on a node"
|
||||
"update:Update a node"
|
||||
)
|
||||
|
@ -1058,7 +1058,7 @@ __docker_service_commands() {
|
|||
"create:Create a new service"
|
||||
"inspect:Display detailed information on one or more services"
|
||||
"ls:List services"
|
||||
"rm:Remove a service"
|
||||
"rm:Remove one or more services"
|
||||
"scale:Scale one or multiple services"
|
||||
"ps:List the tasks of a service"
|
||||
"update:Update a service"
|
||||
|
@ -1314,7 +1314,7 @@ __docker_volume_commands() {
|
|||
"create:Create a volume"
|
||||
"inspect:Display detailed information on one or more volumes"
|
||||
"ls:List volumes"
|
||||
"rm:Remove a volume"
|
||||
"rm:Remove one or more volumes"
|
||||
)
|
||||
_describe -t docker-volume-commands "docker volume command" _docker_volume_subcommands
|
||||
}
|
||||
|
|
|
@ -117,7 +117,7 @@ read the [`dockerd`](dockerd.md) reference page.
|
|||
| [node update](node_update.md) | Update attributes for a node |
|
||||
| [node ps](node_ps.md) | List tasks running on a node |
|
||||
| [node ls](node_ls.md) | List nodes in the swarm |
|
||||
| [node rm](node_rm.md) | Remove a node from the swarm |
|
||||
| [node rm](node_rm.md) | Remove one or more nodes from the swarm |
|
||||
|
||||
### Swarm swarm commands
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ parent = "smn_cli"
|
|||
```markdown
|
||||
Usage: docker kill [OPTIONS] CONTAINER [CONTAINER...]
|
||||
|
||||
Kill one or more running container
|
||||
Kill one or more running containers
|
||||
|
||||
Options:
|
||||
--help Print usage
|
||||
|
|
|
@ -11,9 +11,9 @@ parent = "smn_cli"
|
|||
# network rm
|
||||
|
||||
```markdown
|
||||
Usage: docker network rm NETWORK [NETWORK]...
|
||||
Usage: docker network rm NETWORK [NETWORK...]
|
||||
|
||||
Remove a network
|
||||
Remove one or more networks
|
||||
|
||||
Aliases:
|
||||
rm, remove
|
||||
|
|
|
@ -13,7 +13,7 @@ parent = "smn_cli"
|
|||
```markdown
|
||||
Usage: docker node demote NODE [NODE...]
|
||||
|
||||
Demote a node from manager in the swarm
|
||||
Demote one or more nodes from manager in the swarm
|
||||
|
||||
Options:
|
||||
--help Print usage
|
||||
|
|
|
@ -13,7 +13,7 @@ parent = "smn_cli"
|
|||
```markdown
|
||||
Usage: docker node promote NODE [NODE...]
|
||||
|
||||
Promote a node to a manager in the swarm
|
||||
Promote one or more nodes to manager in the swarm
|
||||
|
||||
Options:
|
||||
--help Print usage
|
||||
|
|
|
@ -13,7 +13,7 @@ parent = "smn_cli"
|
|||
```markdown
|
||||
Usage: docker node rm NODE [NODE...]
|
||||
|
||||
Remove a node from the swarm
|
||||
Remove one or more nodes from the swarm
|
||||
|
||||
Aliases:
|
||||
rm, remove
|
||||
|
|
|
@ -11,9 +11,9 @@ parent = "smn_cli"
|
|||
# service rm
|
||||
|
||||
```Markdown
|
||||
Usage: docker service rm [OPTIONS] SERVICE
|
||||
Usage: docker service rm [OPTIONS] SERVICE [SERVICE...]
|
||||
|
||||
Remove a service
|
||||
Remove one or more services
|
||||
|
||||
Aliases:
|
||||
rm, remove
|
||||
|
|
|
@ -11,9 +11,9 @@ parent = "smn_cli"
|
|||
# volume rm
|
||||
|
||||
```markdown
|
||||
Usage: docker volume rm VOLUME [VOLUME]...
|
||||
Usage: docker volume rm VOLUME [VOLUME...]
|
||||
|
||||
Remove a volume
|
||||
Remove one or more volumes
|
||||
|
||||
Aliases:
|
||||
rm, remove
|
||||
|
@ -22,7 +22,7 @@ Options:
|
|||
--help Print usage
|
||||
```
|
||||
|
||||
Removes one or more volumes. You cannot remove a volume that is in use by a container.
|
||||
Remove one or more volumes. You cannot remove a volume that is in use by a container.
|
||||
|
||||
$ docker volume rm hello
|
||||
hello
|
||||
|
|
Loading…
Reference in New Issue