github.com/yogeshlonkar/moby@v1.13.2-0.20201203103638-c0b64beaea94/docs/reference/commandline/stack_ls.md (about) 1 --- 2 title: "stack ls" 3 description: "The stack ls command description and usage" 4 keywords: "stack, ls" 5 --- 6 7 <!-- This file is maintained within the docker/docker Github 8 repository at https://github.com/docker/docker/. Make all 9 pull requests against that repo. If you see this file in 10 another repository, consider it read-only there, as it will 11 periodically be overwritten by the definitive file. Pull 12 requests which include edits to this file in other repositories 13 will be rejected. 14 --> 15 16 # stack ls 17 18 ```markdown 19 Usage: docker stack ls 20 21 List stacks 22 23 Aliases: 24 ls, list 25 26 Options: 27 --help Print usage 28 ``` 29 30 ## Description 31 32 Lists the stacks. 33 34 ## Examples 35 36 The following command shows all stacks and some additional information: 37 38 ```bash 39 $ docker stack ls 40 41 ID SERVICES 42 vossibility-stack 6 43 myapp 2 44 ``` 45 46 ## Related commands 47 48 * [stack deploy](stack_deploy.md) 49 * [stack ps](stack_ps.md) 50 * [stack rm](stack_rm.md) 51 * [stack services](stack_services.md)