docker / for-win

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

Docker Desktop - WSL update failed #14171

Open vitaaliik opened 5 months ago

vitaaliik commented 5 months ago

Description

Docker Desktop - WSL update failed An error occurred while updating WSL.

You can manually update using wsl --update.

If the issue persists, collect diagnostics and submit an issue⁠.

wsl update failed: update failed: updating wsl: exit code: 4294967295: running WSL command wsl.exe C:\Windows\System32\wsl.exe --update --web-download: Copyright (c) Microsoft Corporation. All rights

Reproduce

запускаю docker вибираю налаштування натискаю фініш і вискакує помилка

Expected behavior

Зробив усе можливе і вручну оновлював і так далі не помогло

docker version

Client:
 Version:           26.1.4
 API version:       1.45
 Go version:        go1.21.11
 Git commit:        5650f9b
 Built:             Wed Jun  5 11:29:54 2024
 OS/Arch:           windows/amd64
 Context:           desktop-linux
error during connect: Get "http://%2F%2F.%2Fpipe%2FdockerDesktopLinuxEngine/v1.45/version": open //./pipe/dockerDesktopLinuxEngine: The system cannot find the file specified.
PS C:\Windows\system32>

docker info

Client:
 Version:    26.1.4
 Context:    desktop-linux
 Debug Mode: false
 Plugins:
  buildx: Docker Buildx (Docker Inc.)
    Version:  v0.14.1-desktop.1
    Path:     C:\Program Files\Docker\cli-plugins\docker-buildx.exe
  compose: Docker Compose (Docker Inc.)
    Version:  v2.27.1-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.32
    Path:     C:\Program Files\Docker\cli-plugins\docker-debug.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.24
    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.2.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.9.3
    Path:     C:\Program Files\Docker\cli-plugins\docker-scout.exe

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

Diagnostics ID

E717D383-6916-4FB4-8F22-65D6541F759B/20240704094015

Additional Info

поможіть

harvic3 commented 5 months ago

Yes, the last update was broken again.

I updated, but before I was careful about save my data.

image

The system update, but after try to starting, it fails and request for a some permission many times until I need to deny and show the next picture.

I also tried to update my wsl and it was already updated, but Docker didn't work. The update was a ssuggestion from Docker: image

PS C:\Users\pulsar> wsl --update
Comprobando actualizaciones.
La versión más reciente de Subsistema de Windows para Linux ya está instalada.
// Transalate: The most recent WSL is already installed
PS C:\Users\pulsar>

I needed to download the online version and unistall the new one and I lost all my data again. :(

lvchzh commented 5 months ago

l have same problem

Lasya-Kovouru commented 4 months ago

I am also facing same problem.

schalke046-1 commented 4 months ago

Hi all,

I have a very similar issue at installing 4.32.

image

arthuralonsoo commented 4 months ago

same problem here