diff --git a/_vendor/github.com/docker/compose/v2/docs/reference/compose.md b/_vendor/github.com/docker/compose/v2/docs/reference/compose.md index d625c253e6..cf858c1767 100644 --- a/_vendor/github.com/docker/compose/v2/docs/reference/compose.md +++ b/_vendor/github.com/docker/compose/v2/docs/reference/compose.md @@ -28,6 +28,7 @@ Define and run multi-container applications with Docker | [`pause`](compose_pause.md) | Pause services | | [`port`](compose_port.md) | Print the public port for a port binding | | [`ps`](compose_ps.md) | List containers | +| [`publish`](compose_publish.md) | Publish compose application | | [`pull`](compose_pull.md) | Pull service images | | [`push`](compose_push.md) | Push service images | | [`restart`](compose_restart.md) | Restart service containers | @@ -67,7 +68,7 @@ Define and run multi-container applications with Docker ## Examples ### 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 You can supply multiple `-f` configuration files. When you supply multiple files, Compose combines them into a single diff --git a/_vendor/github.com/docker/compose/v2/docs/reference/compose_alpha_publish.md b/_vendor/github.com/docker/compose/v2/docs/reference/compose_alpha_publish.md index 7d36553523..6e77d71453 100644 --- a/_vendor/github.com/docker/compose/v2/docs/reference/compose_alpha_publish.md +++ b/_vendor/github.com/docker/compose/v2/docs/reference/compose_alpha_publish.md @@ -11,7 +11,7 @@ Publish compose application | `--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`, `--y` | `bool` | | Assume "yes" as answer to all prompts | +| `-y`, `--yes` | `bool` | | Assume "yes" as answer to all prompts | diff --git a/_vendor/github.com/docker/compose/v2/docs/reference/compose_create.md b/_vendor/github.com/docker/compose/v2/docs/reference/compose_create.md index b87cce8572..4b0b876da9 100644 --- a/_vendor/github.com/docker/compose/v2/docs/reference/compose_create.md +++ b/_vendor/github.com/docker/compose/v2/docs/reference/compose_create.md @@ -16,7 +16,7 @@ Creates containers for a service | `--quiet-pull` | `bool` | | Pull without printing progress information | | `--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. | -| `-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 | diff --git a/_vendor/github.com/docker/compose/v2/docs/reference/compose_publish.md b/_vendor/github.com/docker/compose/v2/docs/reference/compose_publish.md new file mode 100644 index 0000000000..8e5d181336 --- /dev/null +++ b/_vendor/github.com/docker/compose/v2/docs/reference/compose_publish.md @@ -0,0 +1,18 @@ +# docker compose publish + + +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 | + + + + diff --git a/_vendor/github.com/docker/compose/v2/docs/reference/compose_run.md b/_vendor/github.com/docker/compose/v2/docs/reference/compose_run.md index f46d1872d2..e4be01d2db 100644 --- a/_vendor/github.com/docker/compose/v2/docs/reference/compose_run.md +++ b/_vendor/github.com/docker/compose/v2/docs/reference/compose_run.md @@ -66,6 +66,7 @@ specified in the service configuration. | `--dry-run` | `bool` | | Execute command in dry run mode | | `--entrypoint` | `string` | | Override the entrypoint of the image | | `-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 | | `-l`, `--label` | `stringArray` | | Add or override a label | | `--name` | `string` | | Assign a name to the container | diff --git a/_vendor/github.com/docker/compose/v2/docs/reference/compose_up.md b/_vendor/github.com/docker/compose/v2/docs/reference/compose_up.md index d1478cdd33..b831cb16d3 100644 --- a/_vendor/github.com/docker/compose/v2/docs/reference/compose_up.md +++ b/_vendor/github.com/docker/compose/v2/docs/reference/compose_up.md @@ -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-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. | -| `-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 | diff --git a/_vendor/github.com/docker/compose/v2/docs/reference/docker_compose.yaml b/_vendor/github.com/docker/compose/v2/docs/reference/docker_compose.yaml index 1c6fb4970e..a31cb41082 100644 --- a/_vendor/github.com/docker/compose/v2/docs/reference/docker_compose.yaml +++ b/_vendor/github.com/docker/compose/v2/docs/reference/docker_compose.yaml @@ -22,6 +22,7 @@ cname: - docker compose pause - docker compose port - docker compose ps + - docker compose publish - docker compose pull - docker compose push - docker compose restart @@ -55,6 +56,7 @@ clink: - docker_compose_pause.yaml - docker_compose_port.yaml - docker_compose_ps.yaml + - docker_compose_publish.yaml - docker_compose_pull.yaml - docker_compose_push.yaml - docker_compose_restart.yaml @@ -229,7 +231,7 @@ options: swarm: false examples: |- ### 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 You can supply multiple `-f` configuration files. When you supply multiple files, Compose combines them into a single diff --git a/_vendor/github.com/docker/compose/v2/docs/reference/docker_compose_alpha_publish.yaml b/_vendor/github.com/docker/compose/v2/docs/reference/docker_compose_alpha_publish.yaml index 91600ac8b4..1566677472 100644 --- a/_vendor/github.com/docker/compose/v2/docs/reference/docker_compose_alpha_publish.yaml +++ b/_vendor/github.com/docker/compose/v2/docs/reference/docker_compose_alpha_publish.yaml @@ -35,7 +35,7 @@ options: experimentalcli: false kubernetes: false swarm: false - - option: "y" + - option: "yes" shorthand: "y" value_type: bool default_value: "false" diff --git a/_vendor/github.com/docker/compose/v2/docs/reference/docker_compose_create.yaml b/_vendor/github.com/docker/compose/v2/docs/reference/docker_compose_create.yaml index 7cb764098b..f6ab1b8682 100644 --- a/_vendor/github.com/docker/compose/v2/docs/reference/docker_compose_create.yaml +++ b/_vendor/github.com/docker/compose/v2/docs/reference/docker_compose_create.yaml @@ -88,7 +88,7 @@ options: experimentalcli: false kubernetes: false swarm: false - - option: "y" + - option: "yes" shorthand: "y" value_type: bool default_value: "false" diff --git a/_vendor/github.com/docker/compose/v2/docs/reference/docker_compose_publish.yaml b/_vendor/github.com/docker/compose/v2/docs/reference/docker_compose_publish.yaml new file mode 100644 index 0000000000..44a7a46dd4 --- /dev/null +++ b/_vendor/github.com/docker/compose/v2/docs/reference/docker_compose_publish.yaml @@ -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 + diff --git a/_vendor/github.com/docker/compose/v2/docs/reference/docker_compose_run.yaml b/_vendor/github.com/docker/compose/v2/docs/reference/docker_compose_run.yaml index dc19a95de4..6e6ec71f8d 100644 --- a/_vendor/github.com/docker/compose/v2/docs/reference/docker_compose_run.yaml +++ b/_vendor/github.com/docker/compose/v2/docs/reference/docker_compose_run.yaml @@ -117,6 +117,16 @@ options: experimentalcli: false kubernetes: 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 shorthand: i value_type: bool diff --git a/_vendor/github.com/docker/compose/v2/docs/reference/docker_compose_up.yaml b/_vendor/github.com/docker/compose/v2/docs/reference/docker_compose_up.yaml index 0ed31b3599..47e0c5259e 100644 --- a/_vendor/github.com/docker/compose/v2/docs/reference/docker_compose_up.yaml +++ b/_vendor/github.com/docker/compose/v2/docs/reference/docker_compose_up.yaml @@ -309,7 +309,7 @@ options: experimentalcli: false kubernetes: false swarm: false - - option: "y" + - option: "yes" shorthand: "y" value_type: bool default_value: "false" diff --git a/_vendor/modules.txt b/_vendor/modules.txt index 2d89f7988c..a18e9fe2b0 100644 --- a/_vendor/modules.txt +++ b/_vendor/modules.txt @@ -1,6 +1,6 @@ # 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/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 diff --git a/go.mod b/go.mod index 2aa8983667..79d90ce1d8 100644 --- a/go.mod +++ b/go.mod @@ -1,20 +1,20 @@ module github.com/docker/docs -go 1.23.1 +go 1.23.6 require ( github.com/docker/buildx v0.21.2 // 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/moby/buildkit v0.20.0 // indirect + github.com/moby/buildkit v0.20.1 // indirect github.com/moby/moby v28.0.1+incompatible // indirect ) replace ( 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/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/moby/buildkit => github.com/moby/buildkit v0.20.0 github.com/moby/moby => github.com/moby/moby v28.0.1+incompatible diff --git a/go.sum b/go.sum index b702c1f5ad..e20ed5ab56 100644 --- a/go.sum +++ b/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.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.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/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w= github.com/docker/distribution v2.8.3+incompatible h1:AtKxIZ36LoNK51+Z6RpzLpddBirtxJnzDrHLEKxTAYk= diff --git a/hugo.yaml b/hugo.yaml index 9d4bf29e46..55f3325522 100644 --- a/hugo.yaml +++ b/hugo.yaml @@ -118,7 +118,7 @@ params: # (Used to show e.g., "latest" and "latest"-1 in engine install examples docker_ce_version_prev: "28.0.0" # Latest Docker Compose version - compose_version: "v2.33.1" + compose_version: "v2.34.0" # Latest BuildKit version buildkit_version: "0.20.0"