for-win icon indicating copy to clipboard operation
for-win copied to clipboard

4.38.0 update docker.exe not found

Open Deffz-Finesse2nd opened this issue 1 year ago • 20 comments

Description

After updating Docker desktop to 4.38.0, when attempting to look at my containers overall logs I see the error:

<3>WSL (11071 - Relay) ERROR: CreateProcessCommon:640: execvpe(C:\Program Files\Docker\Docker\resources\bin\docker.exe) failed: No such file or directory

After checking the docker.exe is present in the correct location, downgrading to 4.37.1 fixes the issue

Reproduce

Update to 4.38.0 from 4.37.1

Expected behavior

No response

docker version

4.38.0

docker info

<3>WSL (11071 - Relay) ERROR: CreateProcessCommon:640: execvpe(C:\Program Files\Docker\Docker\resources\bin\docker.exe) failed: No such file or directory

Diagnostics ID

ADDC1AE8-CD4A-47BB-906C-1CE9A37E3DC7/20250207003332

Additional Info

No response

Deffz-Finesse2nd avatar Feb 07 '25 00:02 Deffz-Finesse2nd

I have the same issue. Downgrading will be painful for me. Lots of images to backup

colinwoolmer40 avatar Feb 07 '25 14:02 colinwoolmer40

The same problem.

Image

wwh1004 avatar Feb 09 '25 08:02 wwh1004

Same here.

Image

tooruu avatar Feb 11 '25 13:02 tooruu

Same: <3>WSL (1122) ERROR: CreateProcessCommon:559: execvpe(C:\Program Files\Docker\Docker\resources\bin\docker.exe) failed: No such file or directory. I ran a log collecting script I found in another post:

WslLogs-2025-02-11_10-53-20.zip

alvin-sunco avatar Feb 11 '25 14:02 alvin-sunco

I run docker in WSL2, and use ubuntu as another WSL to start my containers. I am experiencing the same issue. <3>WSL (7480 - Relay) ERROR: CreateProcessCommon:640: execvpe(C:\Program Files\Docker\Docker\resources\bin\docker.exe) failed: No such file or directory Commenting in hopes of someone posting a fix for the issue. My individual container logs are still working but it would be nice to be able to see my overall logs again without having to click container to container.

edysonMO avatar Feb 11 '25 16:02 edysonMO

Perform a simple in-place downgrade.

X:\Downloads>"Docker Desktop Installer 4.37.1.exe" install --disable-version-check

Link to the previous docker versions: https://docs.docker.com/desktop/release-notes/#4371 And for the lazy ones: https://desktop.docker.com/win/main/amd64/178610/Docker%20Desktop%20Installer.exe

4.38.0 causes specific containers in my case to not work correctly along with the error mentioned above.

Downgrading to 4.37.1 fixes the issues with the odd container behavior and errors within docker.

This is the third time within a year where newer versions have broken things, so a downgrade has always been necessary (on Windows only), I have not had any issues on Docker Desktop for Mac.

Keep the downgrade command handy for instances like this.

creativestate avatar Feb 12 '25 05:02 creativestate

Rolling back to the version 4.37.1 was the solution make sure to back up all your images in case you need them and load them again after installing the older version

ali-fawzi avatar Feb 12 '25 13:02 ali-fawzi

Rolling back to the version 4.37.1 was the solution make sure to back up all your images in case you need them and load them again after installing the older version

Back up to be safe, but I did the in-place downgrade and all of my containers, images, and volumes persisted.

  • Download the desired version you want to downgrade to
  • Open a powershell in that same location (may have to open powershell as admin)
  • Run ./"Docker Desktop Installer.exe" install --disable-version-check

edysonMO avatar Feb 12 '25 14:02 edysonMO

Perform a simple in-place downgrade.

X:\Downloads>"Docker Desktop Installer 4.37.1.exe" install --disable-version-check

Link to the previous docker versions: https://docs.docker.com/desktop/release-notes/#4371 And for the lazy ones: https://desktop.docker.com/win/main/amd64/178610/Docker%20Desktop%20Installer.exe

4.38.0 causes specific containers in my case to not work correctly along with the error mentioned above.

Downgrading to 4.37.1 fixes the issues with the odd container behavior and errors within docker.

This is the third time within a year where newer versions have broken things, so a downgrade has always been necessary (on Windows only), I have not had any issues on Docker Desktop for Mac.

Keep the downgrade command handy for instances like this.

Yh, I always try to hold off a Docker Desktop update as long possible

Deffz-Finesse2nd avatar Feb 12 '25 19:02 Deffz-Finesse2nd

@Deffz-Finesse solution worked for me, however, I had to tweak it to the following for PowerShell instead of Command Prompt:

  1. Download "Docker Desktop Installer.exe" into ~Downloads
  2. Open PowerShell, Navigate (cd ~Downloads) to Downloads
  3. Enter the command "Start-Process -FilePath ".\Docker Desktop Installer.exe" -ArgumentList "install --disable-version-check" -Wait -NoNewWindow"
  4. Profit???

terrificobjects avatar Feb 20 '25 22:02 terrificobjects

Also having this problem.

jccbbb avatar Feb 22 '25 15:02 jccbbb

Add me to the list. New Win11 Pro host, new OS install, first thing I did was install Docker Desktop. None of my containers work on new pulls. All Windows features necessary installed. WSL2 updated. NVIDIA Cuda Toolkit installed.

wsl --version WSL version: 2.4.11.0 Kernel version: 5.15.167.4-1 WSLg version: 1.0.65 MSRDC version: 1.2.5716 Direct3D version: 1.611.1-81528511 DXCore version: 10.0.26100.1-240331-1435.ge-release Windows version: 10.0.26100.3194

docker --version Docker version 27.5.1, build 9f9e405

wsl --exec docker --version Docker version 26.1.3, build 26.1.3-0ubuntu1~22.04.1

uzu-1 avatar Feb 23 '25 05:02 uzu-1

It seems like every new update there is some sort of issue there has to be some quality control, or update should be marked beta or something to make people aware that its half baked stuff, rather than pushing update notice which probably annoys most of users who use docker desktop for windows. In my case after fresh install of Windows 11 I get the following.

<3>WSL (683 - Relay) ERROR: CreateProcessCommon:640: execvpe(C:\Program Files\Docker\Docker\resources\bin\docker.exe) failed: No such file or directory

asolopovas avatar Feb 23 '25 21:02 asolopovas

Thank you so much for opening this thread. I had an issue for a long time now and randomly found this error in one of the containers. As the others before me already discussed, the latest Docker version was the root cause of this.

Downgrading to 4.37.1 with a fresh installation fixed the issue in my project!! ❤

abooo96 avatar Mar 05 '25 15:03 abooo96

I am also getting the same error

Image

edilsonsantos-co-za avatar Mar 07 '25 01:03 edilsonsantos-co-za

I am also getting the same error

Image

Downgrade to 4.37.1 https://desktop.docker.com/win/main/amd64/178610/Docker%20Desktop%20Installer.exe

Deffz-Finesse2nd avatar Mar 07 '25 02:03 Deffz-Finesse2nd

I switched to Rancher Desktop because of this issue: it's working great.

lackovic avatar Mar 07 '25 07:03 lackovic

Ugrading to 4.39.0 solved the issue for me.

lguima avatar Mar 08 '25 13:03 lguima

Closing the issue as this is fixed with 4.39.

bsousaa avatar Mar 10 '25 10:03 bsousaa

I got the same issue auto updating to windows 11, was fixed upgrading to 3.39.0. Thanks! Close issue!

Agamenox avatar Mar 10 '25 23:03 Agamenox