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 #14638

Open
jzr-supove opened this issue Mar 3, 2025 · 2 comments
Open

Docker Desktop distro installation failed #14638

jzr-supove opened this issue Mar 3, 2025 · 2 comments

Comments

@jzr-supove
Copy link

Description

deploying WSL2 distributions
ensuring data disk is available: resetting disk identifier: setting new UUID: setting virtual disk identifier: opening virtual disk: permission denied (1300) (is the vhdx open in another process?)
checking if isocache exists: CreateFile \\wsl$\docker-desktop-data\isocache\: The network name cannot be found.

Diagnostic ID:

5DD12B53-6A16-4F67-8EC0-4BC539276D8C/20250303193647

Reproduce

  1. Update Docker Desktop through its UI
  2. Restart
  3. Face the issue

Expected behavior

No response

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

Diagnostics ID

5DD12B53-6A16-4F67-8EC0-4BC539276D8C/20250303193647

Additional Info

No response

@lilhoser
Copy link

lilhoser commented Mar 5, 2025

Also experiencing this issue.. Docker desktop starts, then immediately displays a "stopping" message. Log shows


[2025-03-05T19:03:25.005357000Z][com.docker.backend.exe.ipc][W] (6bfd922e-0) 7d39d8b0-PauseHDL C<-S ConnectionClosed GET /ping (1.0008963s): Get "http://ipc/ping": context deadline exceeded
[2025-03-05T19:03:25.005357000Z][com.docker.backend.exe.socketforwarder] keep existing connections open: already stopped so connections are already closed
[2025-03-05T19:03:25.005676800Z][com.docker.backend.exe.enginedependencies] stopping vm control init
[2025-03-05T19:03:25.005676800Z][com.docker.backend.exe.ipc] e12ce2ae-engines -> \\.\pipe\dockerControlInit init
[2025-03-05T19:03:25.005676800Z][com.docker.backend.exe.ipc] (81ca6282-0) e12ce2ae-engines C->S init GET /ping
[2025-03-05T19:03:26.006271500Z][com.docker.backend.exe.ipc][W] (81ca6282-0) e12ce2ae-engines C<-S ConnectionClosed GET /ping (1.0005947s): Get "http://ipc/ping": context deadline exceeded
[2025-03-05T19:03:26.006271500Z][com.docker.backend.exe.enginedependencies] stopping forwarding dials
[2025-03-05T19:03:26.006271500Z][com.docker.backend.exe.socketforwarder] stop forwarding dials: already stopped
[2025-03-05T19:03:26.006456000Z][com.docker.backend.exe.enginedependencies] graceful shutdown complete
[2025-03-05T19:03:26.006485000Z][com.docker.backend.exe.engines] stopping hypervisor process
[2025-03-05T19:03:26.006485000Z][com.docker.backend.exe.engines] waiting for all go routines to terminate
[2025-03-05T19:03:26.006567400Z][com.docker.backend.exe.engines][E] engine was terminated with result: waiting for the VM setup to be ready: deploying WSL2 distributions
ensuring data disk is available: exit code: 4294967295: running WSL command wsl.exe C:\WINDOWS\System32\wsl.exe --mount --bare --vhd <HOME>\AppData\Local\Docker\wsl\disk\docker_data.vhdx: Invalid command line option: --mount

Copyright (c) Microsoft Corporation. All rights reserved.



Usage: wsl.exe [Argument] [Options...] [CommandLine]



Arguments for running Linux binaries:



    If no command line is provided, wsl.exe launches the default shell.



    --exec, -e <CommandLine>

Whatever wsl command docker is trying to run has incorrect command line switches. A bunch more of these are in the log file:

checking if isocache exists: CreateFile \\wsl$\docker-desktop-data\isocache\: The network name cannot be found.)
[2025-03-05T19:03:26.012968600Z][com.docker.backend.exe.tracker] sending event: desktopState 87b249c9-09ff-4f30-8cd6-84ad5a715297
[2025-03-05T19:03:26.013669300Z][com.docker.backend.exe.engines][W] attempting recovery from engine failure: running engine: waiting for the VM setup to be ready: deploying WSL2 distributions
ensuring data disk is available: exit code: 4294967295: running WSL command wsl.exe C:\WINDOWS\System32\wsl.exe --mount --bare --vhd <HOME>\AppData\Local\Docker\wsl\disk\docker_data.vhdx: Invalid command line option: --mount

@lilhoser
Copy link

lilhoser commented Mar 5, 2025

wsl --update fixes the issue for 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

3 participants