add docker stack ls

Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
Upstream-commit: 5ce08ddfcae5ded73ef0c93c9daba7c916c21ae5
Component: engine
This commit is contained in:
Akihiro Suda
2016-06-23 05:00:21 +00:00
parent c0c81b997f
commit 0d2c33693e
11 changed files with 217 additions and 4 deletions

View File

@ -29,3 +29,4 @@ Displays the configuration of a stack.
* [stack rm](stack_rm.md)
* [stack services](stack_services.md)
* [stack tasks](stack_tasks.md)
* [stack ls](stack_ls.md)

View File

@ -58,3 +58,4 @@ axqh55ipl40h vossibility-stack_vossibility-collector 1 icecrime/vossibility-co
* [stack rm](stack_rm.md)
* [stack services](stack_services.md)
* [stack tasks](stack_tasks.md)
* [stack ls](stack_ls.md)

View File

@ -0,0 +1,37 @@
<!--[metadata]>
+++
title = "stack ls"
description = "The stack ls command description and usage"
keywords = ["stack, ls"]
advisory = "experimental"
[menu.main]
parent = "smn_cli"
+++
<![end-metadata]-->
# stack ls (experimental)
```markdown
Usage: docker stack ls
List stacks
```
Lists the stacks.
For example, the following command shows all stacks and some additional information:
```bash
$ docker stack ls
ID SERVICES
vossibility-stack 6
myapp 2
```
## Related information
* [stack config](stack_config.md)
* [stack deploy](stack_deploy.md)
* [stack rm](stack_rm.md)
* [stack tasks](stack_tasks.md)

View File

@ -32,3 +32,4 @@ a manager node.
* [stack deploy](stack_deploy.md)
* [stack services](stack_services.md)
* [stack tasks](stack_tasks.md)
* [stack ls](stack_ls.md)

View File

@ -63,3 +63,4 @@ The currently supported filters are:
* [stack deploy](stack_deploy.md)
* [stack rm](stack_rm.md)
* [stack tasks](stack_tasks.md)
* [stack ls](stack_ls.md)

View File

@ -45,3 +45,4 @@ The currently supported filters are:
* [stack deploy](stack_deploy.md)
* [stack rm](stack_rm.md)
* [stack services](stack_services.md)
* [stack ls](stack_ls.md)