2017-03-27 05:10:58 -04:00
|
|
|
---
|
|
|
|
title: "stack"
|
|
|
|
description: "The stack command description and usage"
|
|
|
|
keywords: "stack"
|
|
|
|
---
|
|
|
|
|
|
|
|
# stack
|
|
|
|
|
|
|
|
```markdown
|
2018-06-22 02:16:27 -04:00
|
|
|
Usage: docker stack [OPTIONS] COMMAND
|
2017-03-27 05:10:58 -04:00
|
|
|
|
|
|
|
Manage Docker stacks
|
|
|
|
|
|
|
|
Options:
|
2018-06-22 02:16:27 -04:00
|
|
|
--help Print usage
|
2017-03-27 05:10:58 -04:00
|
|
|
|
|
|
|
Commands:
|
|
|
|
deploy Deploy a new stack or update an existing stack
|
|
|
|
ls List stacks
|
|
|
|
ps List the tasks in the stack
|
2018-06-22 02:16:27 -04:00
|
|
|
rm Remove one or more stacks
|
2017-03-27 05:10:58 -04:00
|
|
|
services List the services in the stack
|
|
|
|
|
|
|
|
Run 'docker stack COMMAND --help' for more information on a command.
|
|
|
|
```
|
|
|
|
|
|
|
|
## Description
|
|
|
|
|
|
|
|
Manage stacks.
|
|
|
|
|