-
Notifications
You must be signed in to change notification settings - Fork 569
Open
Description
Description
Currently, the docker-outside-of-docker feature installs a relatively old version of Docker Compose by default. I would like to propose updating the default version to the latest (v5+) and updating the documentation to clarify that latest is a valid option for dockerDashComposeVersion.
Current Behavior
When using the default settings, Docker Compose version v2.40.3 is installed.
According to the documentation, only v1, v2, and none are listed as valid options for dockerDashComposeVersion.
Verification Results
I have verified that specifying latest works correctly and installs the current major version (v5).
- Default configuration (Standard):
"features": {
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {}
}Result: Docker Compose version v2.40.3
- Specifying
latest:
"features": {
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {
"dockerDashComposeVersion": "latest"
}
}Result: Docker Compose version v5.0.2
Proposed Changes
I would appreciate it if you could consider the following updates:
- Update Default: Set the default value of
dockerDashComposeVersiontolatestso users can benefit from the most recent features and security updates. - Update Documentation: Add
latestto the list of supported values fordockerDashComposeVersionin the feature'sREADME.mdordevcontainer-feature.json.
Metadata
Metadata
Assignees
Labels
No labels