GoogleCloudPlatform / cloud-code-vscode

Cloud Code for Visual Studio Code: Issues, Documentation and more
Other
420 stars 112 forks source link

[Apigee Emulator] Extension isn't working on Windows with Rancher Desktop #955

Open progvb opened 3 weeks ago

progvb commented 3 weeks ago

Same as https://github.com/GoogleCloudPlatform/cloud-code-vscode/issues/830 and https://github.com/GoogleCloudPlatform/cloud-code-vscode/issues/917 - the issue still persists even with the latest version:

Version information

Cloud Code Extension version: v2.20.0

VSCode version: October 2024 (version 1.95)

OS: Windows 11

Cloud SDK: 499.0.0

Rancher Desktop: 1.16.0

Description:

Using Docker Desktop in our environment is prohibited by a company policy. Instead, we are using Rancher Desktop.

With the versions of Cloud Code extension starting from 1.22.0 (July 2023), when running VS Code directly in Windows, the Apigee Emulator functionality isn't working with Rancher Desktop. It produces "Listing failed due to Docker errors" and a tooltip is saying "Error: cannot find path to Docker Desktop.exe in registry, make sure docker is installed properly".

Repro step:

  1. Open a project with Apigee X proxies in VS Code.
  2. Go to APIGEE tab in CLOUD CODE extension. Under emulators you will see "❗ Listing failed due to Docker errors".

image

CC: @maxrandolph @AlbertoMonteiro

maxrandolph commented 3 weeks ago

Thanks @progvb, we'll look into what's happening here and hopefully will be able to provide an update soon.