github.com/olljanat/moby@v1.13.1/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  Lists the stacks.
    31  
    32  For example, the following command shows all stacks and some additional information:
    33  
    34  ```bash
    35  $ docker stack ls
    36  
    37  ID                 SERVICES
    38  vossibility-stack  6
    39  myapp              2
    40  ```
    41  
    42  ## Related information
    43  
    44  * [stack deploy](stack_deploy.md)
    45  * [stack ps](stack_ps.md)
    46  * [stack rm](stack_rm.md)
    47  * [stack services](stack_services.md)