gefyrahq / gefyra-docker-desktop-extension

Docker Desktop Extension for Gefyra. Connect your local containers to Kubernetes!
https://gefyra.dev
Apache License 2.0
3 stars 1 forks source link

Installation fails on Windows: Error: No such container:path #95

Closed mbonaci closed 1 year ago

mbonaci commented 1 year ago

Hi, first let me thank you for open sourcing Gefyra. Telepresence was a huge pain to setup and use, so I'm hoping I'll have a better experience with Gefyra.

When I tried to install the extension on Windows 11 Home Version 10.0.22621 Build 22621 (with WSL2) I got the following error:

Failed to install extension: installation could not be completed due to: executing 'docker --context desktop-linux cp b98c1d894ba0b934f3f21de2985ba32f4331af45eb54feaac2ec97b6b97e73f6:/windows/lib/pywin32.version.txt C:\Users\mbona\AppData\Local\Temp\1995928465-ext-install\gefyra_docker-desktop-extension\host' : exit status 1: Error: No such container:path: b98c1d894ba0b934f3f21de2985ba32f4331af45eb54feaac2ec97b6b97e73f6:/windows/lib/pywin32.version.txt

I'm trying to install it one more time and after 10 minutes the Install button still shows progress, but all I see in the installation log is the following:

Image not available locally, pulling gefyra/docker-desktop-extension:1.1.6...
Extracting metadata and files for the extension "gefyra/docker-desktop-extension:1.1.6"

I'll add more info if something changes.

EDIT
It succeeded in the end, though it took the better part of 30 minutes to finish.

BTW When I first clicked on Install (both installation attempts) nothing changed in the docker-desktop UI, so I thought it hasn't registered the click or similar and when I clicked again I got:

Failed to install extension: installation could not be completed due to: the extension gefyra/docker-desktop-extension:1.1.6 is installing at this moment

Not sure whether that bug is on Docker's side or yours.

SteinRobert commented 1 year ago

Hey @mbonaci thank you very much for reporting the issue! I just got in touch with someone from Docker - maybe they can help. I have no idea why it would sometimes work to copy the files from the container to the host system. I'll keep you posted on this.

SteinRobert commented 1 year ago

I just got feedback from docker, that there is a problem with the installation process itself. Docker Desktop is copying files we packaged in the container to your local machine. This does not work in some cases. I got information that this should be fixed in the next release.

SteinRobert commented 1 year ago

I was told that the fix is included in Docker Desktop 4.18 which has been released over the past couple of days. I do consider this is not an issue with our extension. Anyways - in case this is still happening to you, please let us know. We will investigate or reach out to Docker then.