also updates related stack docs and removes stack_tasks.md
Signed-off-by: Alicia Lauerman <allydevour@me.com>
Upstream-commit: f840df5a2b
Component: cli
38 lines
636 B
Markdown
38 lines
636 B
Markdown
<!--[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 ps](stack_ps.md)
|