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

Docker Desktop unexpected error on startup after upgrade to latest version

Open merobal opened this issue 1 year ago • 8 comments

Description

I updated to the latest version of Docker Desktop on Windows with wsl2 (4.35.1 => 4.36.0) and got this error:

Image

After clicking on "Reset to factory default" I got this error: Image

Reproduce

It happened after the upgrade without restarting my computer. After a Windows restart, it started correctly (but probably because I clicked on the factory reset button, all of my containers are gone.)

Expected behavior

It should start normally after upgrade without system restart.

docker version

Client:
 Version:           27.3.1
 API version:       1.47
 Go version:        go1.22.7
 Git commit:        ce12230
 Built:             Fri Sep 20 11:42:27 2024
 OS/Arch:           windows/amd64
 Context:           desktop-linux
error during connect: Get "http://%2F%2F.%2Fpipe%2FdockerDesktopLinuxEngine/v1.47/version": open //./pipe/dockerDesktopLinuxEngine: The system cannot find the file specified.

docker info

Client:
 Version:    27.3.1
 Context:    desktop-linux
 Debug Mode: false
 Plugins:
  ai: Ask Gordon - Docker Agent (Docker Inc.)
    Version:  v0.1.0
    Path:     C:\Program Files\Docker\cli-plugins\docker-ai.exe
  buildx: Docker Buildx (Docker Inc.)
    Version:  v0.18.0-desktop.2
    Path:     C:\Program Files\Docker\cli-plugins\docker-buildx.exe
  compose: Docker Compose (Docker Inc.)
    Version:  v2.30.3-desktop.1
    Path:     C:\Program Files\Docker\cli-plugins\docker-compose.exe
  debug: Get a shell into any image or container (Docker Inc.)
    Version:  0.0.37
    Path:     C:\Program Files\Docker\cli-plugins\docker-debug.exe
  desktop: Docker Desktop commands (Alpha) (Docker Inc.)
    Version:  v0.0.15
    Path:     C:\Program Files\Docker\cli-plugins\docker-desktop.exe
  dev: Docker Dev Environments (Docker Inc.)
    Version:  v0.1.2
    Path:     C:\Program Files\Docker\cli-plugins\docker-dev.exe
  extension: Manages Docker extensions (Docker Inc.)
    Version:  v0.2.27
    Path:     C:\Program Files\Docker\cli-plugins\docker-extension.exe
  feedback: Provide feedback, right in your terminal! (Docker Inc.)
    Version:  v1.0.5
    Path:     C:\Program Files\Docker\cli-plugins\docker-feedback.exe
  init: Creates Docker-related starter files for your project (Docker Inc.)
    Version:  v1.4.0
    Path:     C:\Program Files\Docker\cli-plugins\docker-init.exe
  sbom: View the packaged-based Software Bill Of Materials (SBOM) for an image (Anchore Inc.)
    Version:  0.6.0
    Path:     C:\Program Files\Docker\cli-plugins\docker-sbom.exe
  scout: Docker Scout (Docker Inc.)
    Version:  v1.15.0
    Path:     C:\Program Files\Docker\cli-plugins\docker-scout.exe

Server:
ERROR: error during connect: Get "http://%2F%2F.%2Fpipe%2FdockerDesktopLinuxEngine/v1.47/info": open //./pipe/dockerDesktopLinuxEngine: The system cannot find the file specified.   
errors pretty printing info

Diagnostics ID

AD11347C-5DEF-4FF7-A7AC-2B17B01A98E0/20241121090154

Additional Info

No response

merobal avatar Nov 21 '24 09:11 merobal

I have the same problem after upgrading. Docker Desktop v4.36.0, WSL 2.3.26.0, Windows 11 v10.0.26100.2314

kawreh avatar Nov 21 '24 15:11 kawreh

Had the same problem, but after restarting windows without factory reset, it started correctly.

Mickroz avatar Nov 21 '24 15:11 Mickroz

after upgrading to v4.36.0 also receiving similar error, downgrading does not fix, nor does completely reinstalling it. I am at an utter loss for ideas.

ericblade avatar Nov 25 '24 04:11 ericblade

I am experience in same situation. Hope someone resolve the issue

wingsum93 avatar Dec 02 '24 16:12 wingsum93

I am experiencing something similar too, but my docker won't even open. My upgrading process seems to have stopped in the middle, since the start menu shortcuts of docker desktop is removed and I cannot find docker in installed app list. I tried to manually remove the remaining files and reinstall it again but it won't open still.

Downgrading back to Docker Desktop v4.35.1 solves my issue.

WSL version: 2.3.26.0 Kernel version: 5.15.167.4-1 Windows version: 10.0.22631.4460

c88tm avatar Dec 03 '24 20:12 c88tm

I faced same issue and downgraded docker desktop from 4.37.0 to 4.35.0. And it solved my issue.

respwill avatar Jan 22 '25 04:01 respwill

the same problem, My version is 4.39, I upgrade 4.38 to 4.39, when I close proxy and restart, It is ok

forslash avatar Mar 13 '25 06:03 forslash

I've encountered the same issue. Here's my specific scenario:

  • Windows system boot sequence

  • Network proxy activated prior to Docker Desktop initialization

  • Docker Desktop startup failure with the error shown in the issue

My resolution :

  • Terminate network proxy operations

  • Perform Docker Desktop service restart

The resolution was successfully resolved my issue.

AlsoWereMe avatar Mar 28 '25 08:03 AlsoWereMe

What a mess, any upgrade is not fixing this issue!!!!!!

Yuvraj-Dhepe avatar Jul 07 '25 18:07 Yuvraj-Dhepe