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,27 +1,23 @@
---
title: "stack deploy"
description: "The stack deploy command description and usage"
keywords: "stack, deploy, up"
---
# stack deploy
```markdown
Usage: docker stack deploy [OPTIONS] STACK
<!---MARKER_GEN_START-->
Deploy a new stack or update an existing stack
Aliases:
deploy, up
### Aliases
Options:
-c, --compose-file strings Path to a Compose file, or "-" to read from stdin
--help Print usage
--prune Prune services that are no longer referenced
--resolve-image string Query the registry to resolve image digest and supported platforms
("always"|"changed"|"never") (default "always")
--with-registry-auth Send registry authentication details to Swarm agents
```
`docker stack deploy`, `docker stack up`
### Options
| Name | Type | Default | Description |
|:---------------------------------------------------------|:--------------|:---------|:--------------------------------------------------------------------------------------------------|
| [`-c`](#compose-file), [`--compose-file`](#compose-file) | `stringSlice` | | Path to a Compose file, or `-` to read from stdin |
| `--prune` | | | Prune services that are no longer referenced |
| `--resolve-image` | `string` | `always` | Query the registry to resolve image digest and supported platforms (`always`, `changed`, `never`) |
| `--with-registry-auth` | | | Send registry authentication details to Swarm agents |
<!---MARKER_GEN_END-->
## Description