release-notes for Compose v2.38.0 and v2.38.1 versions (#22953)

<!--Delete sections as needed -->

## Description
Add release notes for Compose versions `v2.38.0` and `v2.38.1`

## Related issues or tickets
N/A

## Reviews

<!-- Notes for reviewers here -->
<!-- List applicable reviews (optionally @tag reviewers) -->

- [ ] Technical review
- [x] Editorial review
- [ ] Product review

Signed-off-by: Guillaume Lours <705411+glours@users.noreply.github.com>
This commit is contained in:
Guillaume Lours
2025-07-01 09:49:42 +02:00
committed by GitHub
parent 3d6ad93eaf
commit db51090388
9 changed files with 106 additions and 4 deletions

View File

@@ -43,6 +43,7 @@ Define and run multi-container applications with Docker
| [`unpause`](compose_unpause.md) | Unpause services |
| [`up`](compose_up.md) | Create and start containers |
| [`version`](compose_version.md) | Show the Docker Compose version information |
| [`volumes`](compose_volumes.md) | List volumes |
| [`wait`](compose_wait.md) | Block until containers of all (or specified) services stop. |
| [`watch`](compose_watch.md) | Watch build context for service and rebuild/refresh containers when files are updated |

View File

@@ -0,0 +1,16 @@
# docker compose volumes
<!---MARKER_GEN_START-->
List volumes
### Options
| Name | Type | Default | Description |
|:----------------|:---------|:--------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `--dry-run` | `bool` | | Execute command in dry run mode |
| `--format` | `string` | `table` | Format output using a custom template:<br>'table': Print output in table format with column headers (default)<br>'table TEMPLATE': Print output in table format using the given Go template<br>'json': Print in JSON format<br>'TEMPLATE': Print output using the given Go template.<br>Refer to https://docs.docker.com/go/formatting/ for more information about formatting output with templates |
| `-q`, `--quiet` | `bool` | | Only display volume names |
<!---MARKER_GEN_END-->

View File

@@ -37,6 +37,7 @@ cname:
- docker compose unpause
- docker compose up
- docker compose version
- docker compose volumes
- docker compose wait
- docker compose watch
clink:
@@ -72,6 +73,7 @@ clink:
- docker_compose_unpause.yaml
- docker_compose_up.yaml
- docker_compose_version.yaml
- docker_compose_volumes.yaml
- docker_compose_wait.yaml
- docker_compose_watch.yaml
options:

View File

@@ -0,0 +1,52 @@
command: docker compose volumes
short: List volumes
long: List volumes
usage: docker compose volumes [OPTIONS] [SERVICE...]
pname: docker compose
plink: docker_compose.yaml
options:
- option: format
value_type: string
default_value: table
description: |-
Format output using a custom template:
'table': Print output in table format with column headers (default)
'table TEMPLATE': Print output in table format using the given Go template
'json': Print in JSON format
'TEMPLATE': Print output using the given Go template.
Refer to https://docs.docker.com/go/formatting/ for more information about formatting output with templates
deprecated: false
hidden: false
experimental: false
experimentalcli: false
kubernetes: false
swarm: false
- option: quiet
shorthand: q
value_type: bool
default_value: "false"
description: Only display volume names
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

View File

@@ -2,6 +2,6 @@
# github.com/moby/buildkit v0.23.1
# github.com/docker/buildx v0.25.0
# github.com/docker/cli v28.3.0+incompatible
# github.com/docker/compose/v2 v2.37.3
# github.com/docker/compose/v2 v2.38.1
# github.com/docker/model-cli v0.1.26-0.20250527144806-15d0078a3c01
# github.com/docker/scout-cli v1.15.0

View File

@@ -13,6 +13,35 @@ aliases:
For more detailed information, see the [release notes in the Compose repo](https://github.com/docker/compose/releases/).
## 2.38.1
{{< release-date date="2025-06-30" >}}
### Bug fixes and enhancements
- Added support of `model_variable` for service `models` configuration
### Update
- Dependencies upgrade: bump compose-go to v2.7.1
## 2.38.0
{{< release-date date="2025-06-30" >}}
### Bug fixes and enhancements
- Introduced support of `models` for LLM configuration
- Added `volumes` command
- Removed `publish` limitation on bind mounts
- Fixed an issue mounting the docker socket to container which doesn't need it
- Fixed an issue with bake hanging on output
### Update
- Dependencies upgrade: bump compose-go to v2.7.0
- Dependencies upgrade: bump docker engine and cli to v28.3.0
## 2.37.3
{{< release-date date="2025-06-24" >}}

4
go.mod
View File

@@ -5,7 +5,7 @@ go 1.24.0
require (
github.com/docker/buildx v0.25.0 // indirect
github.com/docker/cli v28.3.0+incompatible // indirect
github.com/docker/compose/v2 v2.37.3 // indirect
github.com/docker/compose/v2 v2.38.1 // indirect
github.com/docker/model-cli v0.1.26-0.20250527144806-15d0078a3c01 // indirect
github.com/docker/scout-cli v1.15.0 // indirect
github.com/moby/buildkit v0.23.1 // indirect
@@ -15,7 +15,7 @@ require (
replace (
github.com/docker/buildx => github.com/docker/buildx v0.24.0
github.com/docker/cli => github.com/docker/cli v28.3.0+incompatible
github.com/docker/compose/v2 => github.com/docker/compose/v2 v2.37.3
github.com/docker/compose/v2 => github.com/docker/compose/v2 v2.38.1
github.com/docker/model-cli => github.com/docker/model-cli v0.1.26-0.20250527144806-15d0078a3c01
github.com/docker/scout-cli => github.com/docker/scout-cli v1.15.0
github.com/moby/buildkit => github.com/moby/buildkit v0.22.0

2
go.sum
View File

@@ -30,6 +30,8 @@ github.com/docker/compose/v2 v2.37.1 h1:d/LO338bB7jxHvQwVHSBAjIgitDK2+Dl5IXJImL/
github.com/docker/compose/v2 v2.37.1/go.mod h1:yyprfHgPYV+ydOoL1gp8nIIlZ730ughSvz8D1VamayU=
github.com/docker/compose/v2 v2.37.3 h1:RKaTVsWmqvJd6GP9EWPZ6fu4ezl8tfG1V7bRijToGJI=
github.com/docker/compose/v2 v2.37.3/go.mod h1:U5PKGy7r7M7u2oVhz41NzlNglJFCdMrrThBOH5x00hk=
github.com/docker/compose/v2 v2.38.1 h1:UNbMX6UbpdvdW3xjljD05fcL4jQmHGLh7y9VDgPp29Q=
github.com/docker/compose/v2 v2.38.1/go.mod h1:0Jn/JGDGghZ9JlhY4DJY2/Cs15EDIH2nnagA66Lu3Dw=
github.com/docker/distribution v2.8.3+incompatible h1:AtKxIZ36LoNK51+Z6RpzLpddBirtxJnzDrHLEKxTAYk=
github.com/docker/distribution v2.8.3+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w=
github.com/docker/docker v28.2.2+incompatible h1:CjwRSksz8Yo4+RmQ339Dp/D2tGO5JxwYeqtMOEe0LDw=

View File

@@ -140,7 +140,7 @@ params:
# (Used to show e.g., "latest" and "latest"-1 in engine install examples
docker_ce_version_prev: "28.2.2"
# Latest Docker Compose version
compose_version: "v2.37.3"
compose_version: "v2.38.1"
# Latest BuildKit version
buildkit_version: "0.23.1"