docker / for-win

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

Docker Desktop - Unexpected WSL Error #13792

Open Shnangare opened 12 months ago

Shnangare commented 12 months ago

Description

Docker Desktop - Unexpected WSL Error

Reproduce

open docker put in promp docker pull hello-world

Expected behavior

No response

docker version

C:\Program Files\Docker\Docker\resources>docker version
error during connect: this error may indicate that the docker daemon is not running: Get "http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/version": open //./pipe/docker_engine: The system cannot find the file specified.
Client:
 Cloud integration: v1.0.35+desktop.5
 Version:           24.0.6
 API version:       1.43
 Go version:        go1.20.7
 Git commit:        ed223bc
 Built:             Mon Sep  4 12:32:48 2023
 OS/Arch:           windows/amd64
 Context:           default

docker info

C:\Program Files\Docker\Docker\resources>docker info
Client:
 Version:    24.0.6
 Context:    default
 Debug Mode: false
 Plugins:
  buildx: Docker Buildx (Docker Inc.)
    Version:  v0.11.2-desktop.5
    Path:     C:\Program Files\Docker\cli-plugins\docker-buildx.exe
  compose: Docker Compose (Docker Inc.)
    Version:  v2.23.0-desktop.1
    Path:     C:\Program Files\Docker\cli-plugins\docker-compose.exe
  dev: Docker Dev Environments (Docker Inc.)
    Version:  v0.1.0
    Path:     C:\Program Files\Docker\cli-plugins\docker-dev.exe
  extension: Manages Docker extensions (Docker Inc.)
    Version:  v0.2.20
    Path:     C:\Program Files\Docker\cli-plugins\docker-extension.exe
  init: Creates Docker-related starter files for your project (Docker Inc.)
    Version:  v0.1.0-beta.9
    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
  scan: Docker Scan (Docker Inc.)
    Version:  v0.26.0
    Path:     C:\Program Files\Docker\cli-plugins\docker-scan.exe
  scout: Docker Scout (Docker Inc.)
    Version:  v1.0.9
    Path:     C:\Program Files\Docker\cli-plugins\docker-scout.exe

Server:
ERROR: error during connect: this error may indicate that the docker daemon is not running: Get "http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/info": open //./pipe/docker_engine: The system cannot find the file specified.
errors pretty printing info

Diagnostics ID

F22EEFEC-B405-427B-83B7-A399F25916C3/20231113090531

Additional Info

Please kindly tell me steps to resolve this issues

dionisvl commented 11 months ago

same issue on win 11 docker 4.25.1 Every computer start i have this error. Quiting and start DD again solve problem. But it annoying.

LutzStrobel commented 11 months ago

I have the same issue on windows 10 and docker desktop 4.25.1. The diagnose claims that there is no pipe to the docker backend. NoResponse GET /idle (200.1µs): Get "http://ipc/idle": open \.\pipe\dockerBackendApiServer: The system cannot find the file specified.

ps: Under https://docs.docker.com/desktop/windows/permission-requirements/ I found that the backend url should be: ./pipe/dockerBackendV2. Maybe there is a configuration mismatch?

DracoClaw commented 11 months ago

same issue. here's the full error. i tried all the suggested steps as well


Docker Desktop - Unexpected WSL error
An unexpected error was encountered while executing a WSL command. Common causes
include access rights issues, which occur after waking the computer or not being connected
to your domain/active directory.
Please try shutting WSL down (WSI --shutdown) and/or rebooting your computer. If not
sufficient, WSL may need to be reinstalled fully. As a last resort, try to uninstall/reinstall
Docker Desktop. If the issue persists please collect diagnostics and submit an issue
(https://docs.docker.com/desktop/troubleshoot/overview/#diagnose-from-the-terminal).```
SimonWoidig commented 11 months ago

Duplicate to #13786 ?

Shnangare commented 11 months ago

This issue has been resolved after installing WSL. Refer below URLS: https://learn.microsoft.com/en-gb/windows/wsl/install https://learn.microsoft.com/en-us/windows/wsl/install-manual

SimonWoidig commented 11 months ago

This issue has been resolved after installing WSL. Refer below URLS: https://learn.microsoft.com/en-gb/windows/wsl/install https://learn.microsoft.com/en-us/windows/wsl/install-manual

Not for me though. I have used WSL for quite some time now and Docker worked flawlessly until recently. Possibly some update (windows, WSL)? The error simply came out of the blue for me.

bmeier-pros commented 11 months ago

I've seen this when Desktop goes into resource saver mode. I had to turn it off in order to keep docker working in WSL2.

Akgurban commented 9 months ago

Me also have that problem. When i before reinstall app it just gives unlimited loading