GoogleCloudPlatform / cloud-code-vscode

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

Extension isn't working with Rancher Desktop #917

Open progvb opened 3 months ago

progvb commented 3 months ago

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

Version information

Cloud Code Extension version: v2.13.0

VSCode version: 1.91.0

OS: Windows 11

Cloud SDK: 482.0.0 (2024-06-25)

Skaffold: N/A

Kubectl: N/A

Description:

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

See https://github.com/GoogleCloudPlatform/cloud-code-vscode/issues/830#issuecomment-1927150135 and https://github.com/GoogleCloudPlatform/cloud-code-vscode/issues/830#issuecomment-2146482030 as well.

CC: @ametelski

progvb commented 1 month ago

Rancher Desktop 1.15.0 has been released. I've updated my system to use it. I also updated to the latest Cloud Code extension version (2.16.0).

Unfortunately, the Cloud Code extension still doesn't work with Rancher Desktop (any version from the past 2 years).

witodev commented 1 month ago

Same problem, looks like plugin is searching for Docker Desktop.exe: Screenshot 2024-08-09 120433

glouischandra commented 1 week ago

Hello @progvb are you running vscode in WSL or directly in Windows? If directly on Windows, if you have Docker Desktop installed or you run docker in some other way?

progvb commented 1 week ago

@glouischandra

are you running vscode in WSL or directly in Windows? If directly on Windows, if you have Docker Desktop installed or you run docker in some other way?

No (to both questions).

I'm running VS Code directly in Windows.

I can't run Docker Desktop on my machine - it's prohibited by the company policy. We must use Rancher Desktop instead.

The extension stopped working with Rancher Desktop in version 1.22.0 (July 2023). It never got fixed since then, please see issue #830 as well.

I've updated gcloud components, Cloud Code extension, VS Code, Rancher Desktop to the latest versions, but still getting the same error message:

image

I'm running on: