microsoft / DockerTools

Tools For Docker, including Visual Studio Provisioning and Publishing
Other
175 stars 26 forks source link

Docker Compose V2 Compatibility #310

Closed ThomasTosik closed 2 years ago

ThomasTosik commented 3 years ago

Hi,

we got a new colleague who installed Docker Desktop 4.1 (Windows) fresh on his system. By accident he allowed usage of Docker-Compose V2. This lead to debugging issues. It was not possible to set "StartDebugging" for the services, everything else seem to work. We got no error or warning and it took considerable time to find out that Docker-Tools does not support Docker Compose V2? Can someone confirm?

Regards

P.S.: The solution was pretty easy. Deactivate Compose V2: grafik

ravipal commented 3 years ago

@ThomasTosik, This issue is caused by the recent change in docker compose v2 behavior (https://github.com/docker/compose/issues/8760). We are aware of this issue and the fix is being released. The fix will be available in the next update to VS 2022 preview (this week) and working on releasing the fix for VS 2019.