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

"Docker Desktop distro installation failed" when upgrading Docker Desktop on Windows #14581

Open
AntAgna opened this issue Feb 6, 2025 · 11 comments

Comments

@AntAgna
Copy link

AntAgna commented Feb 6, 2025

Description

Windows 11. Been using Docker Desktop successfully for >1year
This morning there was a notification in the app saying that there was an update available
Downloaded and launched the update from the Docker Desktop App
Afterward it showed this error message :

Image

Pressing the "Recover WSL distro" causes the same error to reapear

Reproduce

  1. Run a previous version of Docker Desktop on Windows 11
  2. Install the latest version

Expected behavior

I expect upgrades to not result in "installation failed" error messages

docker version

Client:
 Version:           27.5.1
 API version:       1.47
 Go version:        go1.22.11
 Git commit:        9f9e405
 Built:             Wed Jan 22 13:41:44 2025
 OS/Arch:           windows/amd64
 Context:           desktop-linux

docker info

Client:
 Version:    27.5.1
 Context:    desktop-linux
 Debug Mode: false
 Plugins:
  ai: Ask Gordon - Docker Agent (Docker Inc.)
    Version:  v0.7.3
    Path:     C:\Users\acampagna\.docker\cli-plugins\docker-ai.exe
  buildx: Docker Buildx (Docker Inc.)
    Version:  v0.20.1-desktop.2
    Path:     C:\Users\acampagna\.docker\cli-plugins\docker-buildx.exe
  compose: Docker Compose (Docker Inc.)
    Version:  v2.32.4-desktop.1
    Path:     C:\Users\acampagna\.docker\cli-plugins\docker-compose.exe
  debug: Get a shell into any image or container (Docker Inc.)
    Version:  0.0.38
    Path:     C:\Users\acampagna\.docker\cli-plugins\docker-debug.exe
  desktop: Docker Desktop commands (Beta) (Docker Inc.)
    Version:  v0.1.4
    Path:     C:\Users\acampagna\.docker\cli-plugins\docker-desktop.exe
  dev: Docker Dev Environments (Docker Inc.)
    Version:  v0.1.2
    Path:     C:\Users\acampagna\.docker\cli-plugins\docker-dev.exe
  extension: Manages Docker extensions (Docker Inc.)
    Version:  v0.2.27
    Path:     C:\Users\acampagna\.docker\cli-plugins\docker-extension.exe
  feedback: Provide feedback, right in your terminal! (Docker Inc.)
    Version:  v1.0.5
    Path:     C:\Users\acampagna\.docker\cli-plugins\docker-feedback.exe
  init: Creates Docker-related starter files for your project (Docker Inc.)
    Version:  v1.4.0
    Path:     C:\Users\acampagna\.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:\Users\acampagna\.docker\cli-plugins\docker-sbom.exe
  scout: Docker Scout (Docker Inc.)
    Version:  v1.16.1
    Path:     C:\Users\acampagna\.docker\cli-plugins\docker-scout.exe

Server:
ERROR: Get "http://%2F%2F.%2Fpipe%2FdockerDesktopLinuxEngine/v1.47/info": context canceled
errors pretty printing info

Diagnostics ID

571B0407-8264-44D0-AA95-B588D53EE302/20250206141801

Additional Info

No response

@archasek
Copy link

archasek commented Feb 6, 2025

same, 8B8E1D53-4458-4ED9-A442-3DFE64CD15CC/20250206162202

@AntAgna
Copy link
Author

AntAgna commented Feb 6, 2025

Docker and Docker Desktop started without errors after rebooting the computer

@AntAgna
Copy link
Author

AntAgna commented Feb 6, 2025

Output of docker version after rebooting :
Client:
Version: 27.5.1
API version: 1.47
Go version: go1.22.11
Git commit: 9f9e405
Built: Wed Jan 22 13:41:44 2025
OS/Arch: windows/amd64
Context: desktop-linux

Server: Docker Desktop 4.38.0 (181591)
Engine:
Version: 27.5.1
API version: 1.47 (minimum version 1.24)
Go version: go1.22.11
Git commit: 4c9b3b0
Built: Wed Jan 22 13:41:17 2025
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.7.25
GitCommit: bcc810d6b9066471b0b6fa75f557a15a1cbf31bb
runc:
Version: 1.1.12
GitCommit: v1.1.12-0-g51d5e946
docker-init:
Version: 0.19.0
GitCommit: de40ad0

@tennvol
Copy link

tennvol commented Feb 6, 2025

Same issue just occurred to me.

B425CE16-6F56-4030-9D7F-E7596D6BBA1A/20250206181249

@Hornakkan
Copy link

Same here this morning : CFD181A7-1767-4274-9F88-20883C9DD79B/20250207073821

@archasek
Copy link

archasek commented Feb 7, 2025

i can confirm, starts working again after os reboot

@FlorentP42
Copy link

FlorentP42 commented Feb 7, 2025

Same : 4B1F957C-5B3D-4D7E-93E1-588A91F1E6C6/20250207143930

Quick fix from #14563 (no reboot) :
Running wsl --shutdown, then wsl and clicking the "recover" button in the error popup, made it work again.

@cgonIT
Copy link

cgonIT commented Feb 7, 2025

Same here since yesterday update : A97EAF3D-8F55-4998-926A-F956EEC5C63D/20250207202537

@cgonIT
Copy link

cgonIT commented Feb 7, 2025

Output of docker version after rebooting : Client: Version: 27.5.1 API version: 1.47 Go version: go1.22.11 Git commit: 9f9e405 Built: Wed Jan 22 13:41:44 2025 OS/Arch: windows/amd64 Context: desktop-linux

Server: Docker Desktop 4.38.0 (181591) Engine: Version: 27.5.1 API version: 1.47 (minimum version 1.24) Go version: go1.22.11 Git commit: 4c9b3b0 Built: Wed Jan 22 13:41:17 2025 OS/Arch: linux/amd64 Experimental: false containerd: Version: 1.7.25 GitCommit: bcc810d6b9066471b0b6fa75f557a15a1cbf31bb runc: Version: 1.1.12 GitCommit: v1.1.12-0-g51d5e946 docker-init: Version: 0.19.0 GitCommit: de40ad0

i can confirm, starts working again after os reboot

Same version than AntAgna, but as with the difference that I got an error when doing "docker version".

And not, in my case a OS reboot (Windows 11) didn't solve the problem.

@cgonIT
Copy link

cgonIT commented Feb 7, 2025

Same : 4B1F957C-5B3D-4D7E-93E1-588A91F1E6C6/20250207143930

Quick fix from #14563 (no reboot) : Running wsl --shutdown, then wsl and clicking the "recover" button in the error popup, made it work again.

Didn't solve the problem in my case neither.

@ripenko
Copy link

ripenko commented Feb 7, 2025

Same : 4B1F957C-5B3D-4D7E-93E1-588A91F1E6C6/20250207143930

Quick fix from #14563 (no reboot) : Running wsl --shutdown, then wsl and clicking the "recover" button in the error popup, made it work again.

Thank you. It helped me.

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

7 participants