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

@ -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)