1
0
mirror of https://github.com/docker/cli.git synced 2025-07-30 17:03:07 +03:00

docs: generate markdown

Keep frontmatter for docker, dockerd and index markdown files.
Also needs to move cli.md > docker.md before generation and
then move it back because cli.md is needed for yaml generation on docs
website: https://github.com/docker/cli/pull/3924#discussion_r1059986605

Signed-off-by: Kevin Alvarez <crazy-max@users.noreply.github.com>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Kevin Alvarez
2023-01-06 19:04:05 +01:00
committed by Sebastiaan van Stijn
parent 186dcf30b1
commit 79c9e527a3
194 changed files with 3410 additions and 2757 deletions

View File

@ -1,30 +1,23 @@
---
title: "stack"
description: "The stack command description and usage"
keywords: "stack"
---
# stack
```markdown
Usage: docker stack [OPTIONS] COMMAND
<!---MARKER_GEN_START-->
Manage Swarm stacks
Options:
--help Print usage
### Subcommands
Commands:
deploy Deploy a new stack or update an existing stack
ls List stacks
ps List the tasks in the stack
rm Remove one or more stacks
services List the services in the stack
| Name | Description |
|:--------------------------------|:---------------------------------------------------------------------|
| [`config`](stack_config.md) | Outputs the final config file, after doing merges and interpolations |
| [`deploy`](stack_deploy.md) | Deploy a new stack or update an existing stack |
| [`ls`](stack_ls.md) | List stacks |
| [`ps`](stack_ps.md) | List the tasks in the stack |
| [`rm`](stack_rm.md) | Remove one or more stacks |
| [`services`](stack_services.md) | List the services in the stack |
Run 'docker stack COMMAND --help' for more information on a command.
```
<!---MARKER_GEN_END-->
## Description
Manage stacks.