Skip to content

Docker-in-docker: Updates default value for "dockerDashComposeVersion" to "latest - #873

Merged
samruddhikhandale merged 6 commits into
mainfrom
samruddhikhandale/docker-default-v2
Feb 27, 2024
Merged

Docker-in-docker: Updates default value for "dockerDashComposeVersion" to "latest#873
samruddhikhandale merged 6 commits into
mainfrom
samruddhikhandale/docker-default-v2

Conversation

@samruddhikhandale

@samruddhikhandale samruddhikhandale commented Feb 22, 2024

Copy link
Copy Markdown
Member

Closes: #745

Docker compose v1 was deprecated last year, hence, we shouldn't set default to v1. This PR updates the default to latest, however, adds back compat (via docker compose switch) for folks depending on v1. As Docker still allows installing v1, we allow it too. However, we have added a warning to let users know.

This also adds installDockerComposeSwitch:true as a new Feature option which allows user to avoid installing the switch.

@samruddhikhandale
samruddhikhandale requested a review from a team as a code owner February 22, 2024 21:58
@samruddhikhandale samruddhikhandale changed the title Docker-in-docker: Updates default value to "latest Docker-in-docker: Updates default value for "dockerDashComposeVersion" to "latest Feb 22, 2024

@chrmarti chrmarti left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, left a question about compatibility.

Comment thread src/docker-in-docker/devcontainer-feature.json Outdated
Comment thread src/docker-in-docker/install.sh

@chrmarti chrmarti left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docker-in-docker: Switch the default to v2

2 participants