DockerCLI/docs/reference/commandline/stack_ls.md

38 lines
642 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 tasks](stack_tasks.md)