docker / for-win

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

WSL update error #14391

Open thinkgreeen opened 3 weeks ago

thinkgreeen commented 3 weeks ago

Description

wsl update failed: update failed: updating wsl: exit code: 1: running WSL command wsl.exe C:\WINDOWS\System32\wsl.exe --update --web-download:

Diag ID : C464DCD4-F58A-43D1-A91F-EDBA8640D6B9/20241029083138

Reproduce

Simple docker client install on windows

Microsoft Windows [version 10.0.22631.4391]

(for info, i had cyberattacks in the past so i installed AVG firewall (but not blocked docker of course))

Expected behavior

No response

docker version

Client: Version: 27.2.0 API version: 1.47 Go version: go1.21.13 Git commit: 3ab4256 Built: Tue Aug 27 14:17:17 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.2.0 Context: desktop-linux Debug Mode: false Plugins: buildx: Docker Buildx (Docker Inc.) Version: v0.16.2-desktop.1 Path: C:\Program Files\Docker\cli-plugins\docker-buildx.exe compose: Docker Compose (Docker Inc.) Version: v2.29.2-desktop.2 Path: C:\Program Files\Docker\cli-plugins\docker-compose.exe debug: Get a shell into any image or container (Docker Inc.) Version: 0.0.34 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.25 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.3.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.13.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

C464DCD4-F58A-43D1-A91F-EDBA8640D6B9/20241029083138

Additional Info

No response

arjunivor commented 2 weeks ago

I have the exact same issue, docker simply won't work after multiple reinstalls and my work has come to a halt. extremely frustrating.

Dignostics ID

85F7F2E7-E223-4B1D-BAA3-A720D3197DC5/20241107150400

Any possible solutions one can recommend?

I havent had any issues with cyber attacks or anything of the like. just a normal install. One thing to note, if I set docker to run as adminstrator and manually start it and give it permissions, it works, but only briefly.

Today I tried running Docker and the app itself won't open so I had to reinstall leading me back to square one.