Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 6 commits into from
Feb 27, 2024

Conversation

samruddhikhandale
Copy link
Member

@samruddhikhandale samruddhikhandale commented Feb 22, 2024

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
Copy link

@chrmarti chrmarti left a comment

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.

src/docker-in-docker/devcontainer-feature.json Outdated Show resolved Hide resolved
src/docker-in-docker/install.sh Show resolved Hide resolved
Copy link

@chrmarti chrmarti left a comment

Choose a reason for hiding this comment

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

LGTM!

@samruddhikhandale samruddhikhandale merged commit 4db22d3 into main Feb 27, 2024
111 checks passed
@samruddhikhandale samruddhikhandale deleted the samruddhikhandale/docker-default-v2 branch February 27, 2024 20:49
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