mirror of https://github.com/docker/docs.git
bump compose version to v2.34.0 in hugo.yaml and go.mod (#22264)
<!--Delete sections as needed --> ## Description Bump version of Compose to `v2.34.0` in `hugo.yaml` and `go.mod` files ## Related issues or tickets N/A ## Reviews <!-- Notes for reviewers here --> <!-- List applicable reviews (optionally @tag reviewers) --> - [x] Technical review - [ ] Editorial review - [ ] Product review Signed-off-by: Guillaume Lours <705411+glours@users.noreply.github.com>
This commit is contained in:
parent
9b28dc7ade
commit
5516466e6c
|
|
@ -28,6 +28,7 @@ Define and run multi-container applications with Docker
|
||||||
| [`pause`](compose_pause.md) | Pause services |
|
| [`pause`](compose_pause.md) | Pause services |
|
||||||
| [`port`](compose_port.md) | Print the public port for a port binding |
|
| [`port`](compose_port.md) | Print the public port for a port binding |
|
||||||
| [`ps`](compose_ps.md) | List containers |
|
| [`ps`](compose_ps.md) | List containers |
|
||||||
|
| [`publish`](compose_publish.md) | Publish compose application |
|
||||||
| [`pull`](compose_pull.md) | Pull service images |
|
| [`pull`](compose_pull.md) | Pull service images |
|
||||||
| [`push`](compose_push.md) | Push service images |
|
| [`push`](compose_push.md) | Push service images |
|
||||||
| [`restart`](compose_restart.md) | Restart service containers |
|
| [`restart`](compose_restart.md) | Restart service containers |
|
||||||
|
|
@ -67,7 +68,7 @@ Define and run multi-container applications with Docker
|
||||||
## Examples
|
## Examples
|
||||||
|
|
||||||
### Use `-f` to specify the name and path of one or more Compose files
|
### Use `-f` to specify the name and path of one or more Compose files
|
||||||
Use the `-f` flag to specify the location of a Compose configuration file.
|
Use the `-f` flag to specify the location of a Compose [configuration file](/reference/compose-file/).
|
||||||
|
|
||||||
#### Specifying multiple Compose files
|
#### Specifying multiple Compose files
|
||||||
You can supply multiple `-f` configuration files. When you supply multiple files, Compose combines them into a single
|
You can supply multiple `-f` configuration files. When you supply multiple files, Compose combines them into a single
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ Publish compose application
|
||||||
| `--oci-version` | `string` | | OCI image/artifact specification version (automatically determined by default) |
|
| `--oci-version` | `string` | | OCI image/artifact specification version (automatically determined by default) |
|
||||||
| `--resolve-image-digests` | `bool` | | Pin image tags to digests |
|
| `--resolve-image-digests` | `bool` | | Pin image tags to digests |
|
||||||
| `--with-env` | `bool` | | Include environment variables in the published OCI artifact |
|
| `--with-env` | `bool` | | Include environment variables in the published OCI artifact |
|
||||||
| `-y`, `--y` | `bool` | | Assume "yes" as answer to all prompts |
|
| `-y`, `--yes` | `bool` | | Assume "yes" as answer to all prompts |
|
||||||
|
|
||||||
|
|
||||||
<!---MARKER_GEN_END-->
|
<!---MARKER_GEN_END-->
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ Creates containers for a service
|
||||||
| `--quiet-pull` | `bool` | | Pull without printing progress information |
|
| `--quiet-pull` | `bool` | | Pull without printing progress information |
|
||||||
| `--remove-orphans` | `bool` | | Remove containers for services not defined in the Compose file |
|
| `--remove-orphans` | `bool` | | Remove containers for services not defined in the Compose file |
|
||||||
| `--scale` | `stringArray` | | Scale SERVICE to NUM instances. Overrides the `scale` setting in the Compose file if present. |
|
| `--scale` | `stringArray` | | Scale SERVICE to NUM instances. Overrides the `scale` setting in the Compose file if present. |
|
||||||
| `-y`, `--y` | `bool` | | Assume "yes" as answer to all prompts and run non-interactively |
|
| `-y`, `--yes` | `bool` | | Assume "yes" as answer to all prompts and run non-interactively |
|
||||||
|
|
||||||
|
|
||||||
<!---MARKER_GEN_END-->
|
<!---MARKER_GEN_END-->
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,18 @@
|
||||||
|
# docker compose publish
|
||||||
|
|
||||||
|
<!---MARKER_GEN_START-->
|
||||||
|
Publish compose application
|
||||||
|
|
||||||
|
### Options
|
||||||
|
|
||||||
|
| Name | Type | Default | Description |
|
||||||
|
|:--------------------------|:---------|:--------|:-------------------------------------------------------------------------------|
|
||||||
|
| `--dry-run` | `bool` | | Execute command in dry run mode |
|
||||||
|
| `--oci-version` | `string` | | OCI image/artifact specification version (automatically determined by default) |
|
||||||
|
| `--resolve-image-digests` | `bool` | | Pin image tags to digests |
|
||||||
|
| `--with-env` | `bool` | | Include environment variables in the published OCI artifact |
|
||||||
|
| `-y`, `--yes` | `bool` | | Assume "yes" as answer to all prompts |
|
||||||
|
|
||||||
|
|
||||||
|
<!---MARKER_GEN_END-->
|
||||||
|
|
||||||
|
|
@ -66,6 +66,7 @@ specified in the service configuration.
|
||||||
| `--dry-run` | `bool` | | Execute command in dry run mode |
|
| `--dry-run` | `bool` | | Execute command in dry run mode |
|
||||||
| `--entrypoint` | `string` | | Override the entrypoint of the image |
|
| `--entrypoint` | `string` | | Override the entrypoint of the image |
|
||||||
| `-e`, `--env` | `stringArray` | | Set environment variables |
|
| `-e`, `--env` | `stringArray` | | Set environment variables |
|
||||||
|
| `--env-from-file` | `stringArray` | | Set environment variables from file |
|
||||||
| `-i`, `--interactive` | `bool` | `true` | Keep STDIN open even if not attached |
|
| `-i`, `--interactive` | `bool` | `true` | Keep STDIN open even if not attached |
|
||||||
| `-l`, `--label` | `stringArray` | | Add or override a label |
|
| `-l`, `--label` | `stringArray` | | Add or override a label |
|
||||||
| `--name` | `string` | | Assign a name to the container |
|
| `--name` | `string` | | Assign a name to the container |
|
||||||
|
|
|
||||||
|
|
@ -53,7 +53,7 @@ If the process is interrupted using `SIGINT` (ctrl + C) or `SIGTERM`, the contai
|
||||||
| `--wait` | `bool` | | Wait for services to be running\|healthy. Implies detached mode. |
|
| `--wait` | `bool` | | Wait for services to be running\|healthy. Implies detached mode. |
|
||||||
| `--wait-timeout` | `int` | `0` | Maximum duration in seconds to wait for the project to be running\|healthy |
|
| `--wait-timeout` | `int` | `0` | Maximum duration in seconds to wait for the project to be running\|healthy |
|
||||||
| `-w`, `--watch` | `bool` | | Watch source code and rebuild/refresh containers when files are updated. |
|
| `-w`, `--watch` | `bool` | | Watch source code and rebuild/refresh containers when files are updated. |
|
||||||
| `-y`, `--y` | `bool` | | Assume "yes" as answer to all prompts and run non-interactively |
|
| `-y`, `--yes` | `bool` | | Assume "yes" as answer to all prompts and run non-interactively |
|
||||||
|
|
||||||
|
|
||||||
<!---MARKER_GEN_END-->
|
<!---MARKER_GEN_END-->
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,7 @@ cname:
|
||||||
- docker compose pause
|
- docker compose pause
|
||||||
- docker compose port
|
- docker compose port
|
||||||
- docker compose ps
|
- docker compose ps
|
||||||
|
- docker compose publish
|
||||||
- docker compose pull
|
- docker compose pull
|
||||||
- docker compose push
|
- docker compose push
|
||||||
- docker compose restart
|
- docker compose restart
|
||||||
|
|
@ -55,6 +56,7 @@ clink:
|
||||||
- docker_compose_pause.yaml
|
- docker_compose_pause.yaml
|
||||||
- docker_compose_port.yaml
|
- docker_compose_port.yaml
|
||||||
- docker_compose_ps.yaml
|
- docker_compose_ps.yaml
|
||||||
|
- docker_compose_publish.yaml
|
||||||
- docker_compose_pull.yaml
|
- docker_compose_pull.yaml
|
||||||
- docker_compose_push.yaml
|
- docker_compose_push.yaml
|
||||||
- docker_compose_restart.yaml
|
- docker_compose_restart.yaml
|
||||||
|
|
@ -229,7 +231,7 @@ options:
|
||||||
swarm: false
|
swarm: false
|
||||||
examples: |-
|
examples: |-
|
||||||
### Use `-f` to specify the name and path of one or more Compose files
|
### Use `-f` to specify the name and path of one or more Compose files
|
||||||
Use the `-f` flag to specify the location of a Compose configuration file.
|
Use the `-f` flag to specify the location of a Compose [configuration file](/reference/compose-file/).
|
||||||
|
|
||||||
#### Specifying multiple Compose files
|
#### Specifying multiple Compose files
|
||||||
You can supply multiple `-f` configuration files. When you supply multiple files, Compose combines them into a single
|
You can supply multiple `-f` configuration files. When you supply multiple files, Compose combines them into a single
|
||||||
|
|
|
||||||
|
|
@ -35,7 +35,7 @@ options:
|
||||||
experimentalcli: false
|
experimentalcli: false
|
||||||
kubernetes: false
|
kubernetes: false
|
||||||
swarm: false
|
swarm: false
|
||||||
- option: "y"
|
- option: "yes"
|
||||||
shorthand: "y"
|
shorthand: "y"
|
||||||
value_type: bool
|
value_type: bool
|
||||||
default_value: "false"
|
default_value: "false"
|
||||||
|
|
|
||||||
|
|
@ -88,7 +88,7 @@ options:
|
||||||
experimentalcli: false
|
experimentalcli: false
|
||||||
kubernetes: false
|
kubernetes: false
|
||||||
swarm: false
|
swarm: false
|
||||||
- option: "y"
|
- option: "yes"
|
||||||
shorthand: "y"
|
shorthand: "y"
|
||||||
value_type: bool
|
value_type: bool
|
||||||
default_value: "false"
|
default_value: "false"
|
||||||
|
|
|
||||||
66
_vendor/github.com/docker/compose/v2/docs/reference/docker_compose_publish.yaml
generated
Normal file
66
_vendor/github.com/docker/compose/v2/docs/reference/docker_compose_publish.yaml
generated
Normal file
|
|
@ -0,0 +1,66 @@
|
||||||
|
command: docker compose publish
|
||||||
|
short: Publish compose application
|
||||||
|
long: Publish compose application
|
||||||
|
usage: docker compose publish [OPTIONS] REPOSITORY[:TAG]
|
||||||
|
pname: docker compose
|
||||||
|
plink: docker_compose.yaml
|
||||||
|
options:
|
||||||
|
- option: oci-version
|
||||||
|
value_type: string
|
||||||
|
description: |
|
||||||
|
OCI image/artifact specification version (automatically determined by default)
|
||||||
|
deprecated: false
|
||||||
|
hidden: false
|
||||||
|
experimental: false
|
||||||
|
experimentalcli: false
|
||||||
|
kubernetes: false
|
||||||
|
swarm: false
|
||||||
|
- option: resolve-image-digests
|
||||||
|
value_type: bool
|
||||||
|
default_value: "false"
|
||||||
|
description: Pin image tags to digests
|
||||||
|
deprecated: false
|
||||||
|
hidden: false
|
||||||
|
experimental: false
|
||||||
|
experimentalcli: false
|
||||||
|
kubernetes: false
|
||||||
|
swarm: false
|
||||||
|
- option: with-env
|
||||||
|
value_type: bool
|
||||||
|
default_value: "false"
|
||||||
|
description: Include environment variables in the published OCI artifact
|
||||||
|
deprecated: false
|
||||||
|
hidden: false
|
||||||
|
experimental: false
|
||||||
|
experimentalcli: false
|
||||||
|
kubernetes: false
|
||||||
|
swarm: false
|
||||||
|
- option: "yes"
|
||||||
|
shorthand: "y"
|
||||||
|
value_type: bool
|
||||||
|
default_value: "false"
|
||||||
|
description: Assume "yes" as answer to all prompts
|
||||||
|
deprecated: false
|
||||||
|
hidden: false
|
||||||
|
experimental: false
|
||||||
|
experimentalcli: false
|
||||||
|
kubernetes: false
|
||||||
|
swarm: false
|
||||||
|
inherited_options:
|
||||||
|
- option: dry-run
|
||||||
|
value_type: bool
|
||||||
|
default_value: "false"
|
||||||
|
description: Execute command in dry run mode
|
||||||
|
deprecated: false
|
||||||
|
hidden: false
|
||||||
|
experimental: false
|
||||||
|
experimentalcli: false
|
||||||
|
kubernetes: false
|
||||||
|
swarm: false
|
||||||
|
deprecated: false
|
||||||
|
hidden: false
|
||||||
|
experimental: false
|
||||||
|
experimentalcli: false
|
||||||
|
kubernetes: false
|
||||||
|
swarm: false
|
||||||
|
|
||||||
|
|
@ -117,6 +117,16 @@ options:
|
||||||
experimentalcli: false
|
experimentalcli: false
|
||||||
kubernetes: false
|
kubernetes: false
|
||||||
swarm: false
|
swarm: false
|
||||||
|
- option: env-from-file
|
||||||
|
value_type: stringArray
|
||||||
|
default_value: '[]'
|
||||||
|
description: Set environment variables from file
|
||||||
|
deprecated: false
|
||||||
|
hidden: false
|
||||||
|
experimental: false
|
||||||
|
experimentalcli: false
|
||||||
|
kubernetes: false
|
||||||
|
swarm: false
|
||||||
- option: interactive
|
- option: interactive
|
||||||
shorthand: i
|
shorthand: i
|
||||||
value_type: bool
|
value_type: bool
|
||||||
|
|
|
||||||
|
|
@ -309,7 +309,7 @@ options:
|
||||||
experimentalcli: false
|
experimentalcli: false
|
||||||
kubernetes: false
|
kubernetes: false
|
||||||
swarm: false
|
swarm: false
|
||||||
- option: "y"
|
- option: "yes"
|
||||||
shorthand: "y"
|
shorthand: "y"
|
||||||
value_type: bool
|
value_type: bool
|
||||||
default_value: "false"
|
default_value: "false"
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
# github.com/moby/moby v28.0.1+incompatible
|
# github.com/moby/moby v28.0.1+incompatible
|
||||||
# github.com/moby/buildkit v0.20.0
|
# github.com/moby/buildkit v0.20.1
|
||||||
# github.com/docker/buildx v0.21.2
|
# github.com/docker/buildx v0.21.2
|
||||||
# github.com/docker/cli v28.0.1+incompatible
|
# github.com/docker/cli v28.0.1+incompatible
|
||||||
# github.com/docker/compose/v2 v2.33.1
|
# github.com/docker/compose/v2 v2.34.0
|
||||||
# github.com/docker/scout-cli v1.15.0
|
# github.com/docker/scout-cli v1.15.0
|
||||||
|
|
|
||||||
8
go.mod
8
go.mod
|
|
@ -1,20 +1,20 @@
|
||||||
module github.com/docker/docs
|
module github.com/docker/docs
|
||||||
|
|
||||||
go 1.23.1
|
go 1.23.6
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/docker/buildx v0.21.2 // indirect
|
github.com/docker/buildx v0.21.2 // indirect
|
||||||
github.com/docker/cli v28.0.1+incompatible // indirect
|
github.com/docker/cli v28.0.1+incompatible // indirect
|
||||||
github.com/docker/compose/v2 v2.33.1 // indirect
|
github.com/docker/compose/v2 v2.34.0 // indirect
|
||||||
github.com/docker/scout-cli v1.15.0 // indirect
|
github.com/docker/scout-cli v1.15.0 // indirect
|
||||||
github.com/moby/buildkit v0.20.0 // indirect
|
github.com/moby/buildkit v0.20.1 // indirect
|
||||||
github.com/moby/moby v28.0.1+incompatible // indirect
|
github.com/moby/moby v28.0.1+incompatible // indirect
|
||||||
)
|
)
|
||||||
|
|
||||||
replace (
|
replace (
|
||||||
github.com/docker/buildx => github.com/docker/buildx v0.21.2
|
github.com/docker/buildx => github.com/docker/buildx v0.21.2
|
||||||
github.com/docker/cli => github.com/docker/cli v28.0.1+incompatible
|
github.com/docker/cli => github.com/docker/cli v28.0.1+incompatible
|
||||||
github.com/docker/compose/v2 => github.com/docker/compose/v2 v2.33.1
|
github.com/docker/compose/v2 => github.com/docker/compose/v2 v2.34.0
|
||||||
github.com/docker/scout-cli => github.com/docker/scout-cli v1.15.0
|
github.com/docker/scout-cli => github.com/docker/scout-cli v1.15.0
|
||||||
github.com/moby/buildkit => github.com/moby/buildkit v0.20.0
|
github.com/moby/buildkit => github.com/moby/buildkit v0.20.0
|
||||||
github.com/moby/moby => github.com/moby/moby v28.0.1+incompatible
|
github.com/moby/moby => github.com/moby/moby v28.0.1+incompatible
|
||||||
|
|
|
||||||
2
go.sum
2
go.sum
|
|
@ -215,6 +215,8 @@ github.com/docker/compose/v2 v2.32.4 h1:h1I7GlJ1NCXKqM0nCVVsMrD/7TdIG48HNgRufcBF
|
||||||
github.com/docker/compose/v2 v2.32.4/go.mod h1:fcK4rrf1bm8pfDsYdZIR+l4RSk9j6HVtBvJKGYyXsZ4=
|
github.com/docker/compose/v2 v2.32.4/go.mod h1:fcK4rrf1bm8pfDsYdZIR+l4RSk9j6HVtBvJKGYyXsZ4=
|
||||||
github.com/docker/compose/v2 v2.33.1 h1:i/V1gUpdbc4tMRfx30aYzw7oHKM8NGB2Oe4AUJUospw=
|
github.com/docker/compose/v2 v2.33.1 h1:i/V1gUpdbc4tMRfx30aYzw7oHKM8NGB2Oe4AUJUospw=
|
||||||
github.com/docker/compose/v2 v2.33.1/go.mod h1:TdDv/kdWOFrCWum5SVxVGVr+P9znSZepukHF1Dam25U=
|
github.com/docker/compose/v2 v2.33.1/go.mod h1:TdDv/kdWOFrCWum5SVxVGVr+P9znSZepukHF1Dam25U=
|
||||||
|
github.com/docker/compose/v2 v2.34.0 h1:mUhgA6AiRVO9hEndD2G2oOQi5Y0g/4H8xSPVUc5TYdU=
|
||||||
|
github.com/docker/compose/v2 v2.34.0/go.mod h1:TgTD4Ku0vOSB3NZgOXp6HcCE6wDSBjg7r8bjWraV5/4=
|
||||||
github.com/docker/distribution v2.8.2+incompatible h1:T3de5rq0dB1j30rp0sA2rER+m322EBzniBPB6ZIzuh8=
|
github.com/docker/distribution v2.8.2+incompatible h1:T3de5rq0dB1j30rp0sA2rER+m322EBzniBPB6ZIzuh8=
|
||||||
github.com/docker/distribution v2.8.2+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w=
|
github.com/docker/distribution v2.8.2+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w=
|
||||||
github.com/docker/distribution v2.8.3+incompatible h1:AtKxIZ36LoNK51+Z6RpzLpddBirtxJnzDrHLEKxTAYk=
|
github.com/docker/distribution v2.8.3+incompatible h1:AtKxIZ36LoNK51+Z6RpzLpddBirtxJnzDrHLEKxTAYk=
|
||||||
|
|
|
||||||
|
|
@ -118,7 +118,7 @@ params:
|
||||||
# (Used to show e.g., "latest" and "latest"-1 in engine install examples
|
# (Used to show e.g., "latest" and "latest"-1 in engine install examples
|
||||||
docker_ce_version_prev: "28.0.0"
|
docker_ce_version_prev: "28.0.0"
|
||||||
# Latest Docker Compose version
|
# Latest Docker Compose version
|
||||||
compose_version: "v2.33.1"
|
compose_version: "v2.34.0"
|
||||||
# Latest BuildKit version
|
# Latest BuildKit version
|
||||||
buildkit_version: "0.20.0"
|
buildkit_version: "0.20.0"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue