This repository was archived by the owner on Nov 30, 2023. It is now read-only.
This repository was archived by the owner on Nov 30, 2023. It is now read-only.
Install compose-switch in docker-in-docker and docker-from-docker scripts to enable v1/v2 compose selection #1084
Open
Description
As discussed in microsoft/vscode-remote-release#5647, https://github.com/docker/compose-switch is a project that provides a way for users to pick between Compose v1 and v2 if both are installed.
moby-compose installs v2 as docker compose
when using Moby, and the script now also locks to v1 for docker-compose
. The switch will allow us allow users to select which one they prefer at run time.