github.com/sld880311/docker@v0.0.0-20200524143708-d5593973a475/docs/reference/commandline/stack.md (about)

     1  ---
     2  title: "stack"
     3  description: "The stack command description and usage"
     4  keywords: "stack"
     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
    17  
    18  ```markdown
    19  Usage:  docker stack COMMAND
    20  
    21  Manage Docker stacks
    22  
    23  Options:
    24        --help   Print usage
    25  
    26  Commands:
    27    deploy      Deploy a new stack or update an existing stack
    28    ls          List stacks
    29    ps          List the tasks in the stack
    30    rm          Remove the stack
    31    services    List the services in the stack
    32  
    33  Run 'docker stack COMMAND --help' for more information on a command.
    34  ```
    35  
    36  ## Description
    37  
    38  Manage stacks.
    39