docker / for-win

Bug reports for Docker Desktop for Windows
https://www.docker.com/products/docker#/windows
1.87k stars 291 forks source link

Docker Desktop - Unexpected WSL error #14452

Open aka-0x4C3DD opened 6 hours ago

aka-0x4C3DD commented 6 hours ago

Description

docker engine isn't starting.

Image

Image

Reproduce

just opening the app causes this.

Expected behavior

just open the app.

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

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:\Users\0x4C3DD\.docker\cli-plugins\docker-ai.exe
  buildx: Docker Buildx (Docker Inc.)
    Version:  v0.18.0-desktop.2
    Path:     C:\Users\0x4C3DD\.docker\cli-plugins\docker-buildx.exe
  compose: Docker Compose (Docker Inc.)
    Version:  v2.30.3-desktop.1
    Path:     C:\Users\0x4C3DD\.docker\cli-plugins\docker-compose.exe
  debug: Get a shell into any image or container (Docker Inc.)
    Version:  0.0.37
    Path:     C:\Users\0x4C3DD\.docker\cli-plugins\docker-debug.exe
  desktop: Docker Desktop commands (Alpha) (Docker Inc.)
    Version:  v0.0.15
    Path:     C:\Users\0x4C3DD\.docker\cli-plugins\docker-desktop.exe
  dev: Docker Dev Environments (Docker Inc.)
    Version:  v0.1.2
    Path:     C:\Users\0x4C3DD\.docker\cli-plugins\docker-dev.exe
  extension: Manages Docker extensions (Docker Inc.)
    Version:  v0.2.27
    Path:     C:\Users\0x4C3DD\.docker\cli-plugins\docker-extension.exe
  feedback: Provide feedback, right in your terminal! (Docker Inc.)
    Version:  v1.0.5
    Path:     C:\Users\0x4C3DD\.docker\cli-plugins\docker-feedback.exe
  init: Creates Docker-related starter files for your project (Docker Inc.)
    Version:  v1.4.0
    Path:     C:\Users\0x4C3DD\.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\0x4C3DD\.docker\cli-plugins\docker-sbom.exe
  scout: Docker Scout (Docker Inc.)
    Version:  v1.15.0
    Path:     C:\Users\0x4C3DD\.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

3AFF424A-FBA5-4C79-B470-7FF712CC3A85/20241128114734

Additional Info

wsl version 5.10.102.1

bogedal commented 5 hours ago

I have the same issue with Docker Desktop 4.36.0 WSL version: 2.3.26.0 Kernel version: 5.15.167.4-1

andrea-reale commented 2 hours ago

Hi, and thanks for reporting the issue.

@aka-0x4C3DD , from the diagnostics you provided (3AFF424A-FBA5-4C79-B470-7FF712CC3A85/20241128114734) I see that you are running an old version of WSL. This is was also discussed in this issue: please see the resultion suggested in the comment and let us know how that goes.

andrea-reale commented 2 hours ago

@bogedal , sorry you'r also having issues running Docker Desktop.

From your comment I understand you are running the latest WSL version, that should not soffer from the problem described by this issue.

If you'd kindly generate and upload your diagnostics we can triage your problem, hopefully help you towards a resultion and decide whether we should track it under a different issue or not.