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

Extension isn't working with Rancher Desktop #917

Closed
progvb opened this issue Jul 1, 2024 · 10 comments
Closed

Extension isn't working with Rancher Desktop #917

progvb opened this issue Jul 1, 2024 · 10 comments

Comments

@progvb
Copy link

progvb commented Jul 1, 2024

Same as #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 #830 (comment) and #830 (comment) as well.

CC: @ametelski

@progvb
Copy link
Author

progvb commented Aug 9, 2024

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

witodev commented Aug 12, 2024

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

@glouischandra
Copy link
Collaborator

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

progvb commented Sep 25, 2024

@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:

  • Cloud Code version "Gemini Code Assist + Google Cloud Code v2.17.0"
  • gcloud components 494.0.0
  • VS Code 1.93.1
  • Rancher Desktop 1.16.0
  • Windows 11 Pro version 23H2

@AlbertoMonteiro
Copy link

@progvb did you found any workaround?

I am facing same issue as you, Windows + Rancher Desktop

@AlbertoMonteiro
Copy link

@progvb Fun fac, I opened VS Code from my WSL Ubuntu, and the emulator worked.

image

But in Windows, it required the Docker Desktop

image

@progvb
Copy link
Author

progvb commented Oct 30, 2024

@AlbertoMonteiro

Thank you for sharing your workaround.

Running VSCode from WSL Ubuntu did seem to solve the "Cannot find path to Docker Desktop.exe in registry" issue!

@maxrandolph
Copy link

Hi @progvb, could you update your extension to the latest version (2.20.0) and see if this issue is persisting? This should be fixed in today's release.

@AlbertoMonteiro
Copy link

@maxrandolph

I am with the newest version but it didn't change, same error.

image

@progvb
Copy link
Author

progvb commented Oct 31, 2024

@maxrandolph

Thank you for the update. Unfortunately this is not working on my machine.

image

I've opened a new issue #955 since this one was closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants