Skip to content

Docker Desktop 4.84.0 intermittently misclassifies WSL 2.7.11 as update-required and starts abnormally slowly #560

Open

Description

@AgentHubMarket

Bug report

Bug description

Docker Desktop 4.84.0 on Windows 10 with WSL 2.7.11 intermittently fails the WSL precondition check or takes an abnormally long time to make the engine available.

This report does not claim a confirmed regression in 4.84.0. The evidence currently points to an intermittent startup/precondition or reduced-state interaction rather than a general WSL failure.

Expected behavior

Docker Desktop should recognize the installed WSL 2.7.11 runtime, start the WSL 2 backend consistently, and make the Docker daemon available without incorrectly routing to the WSL update recovery path.

Observed behavior

During one startup attempt, the Docker backend logged that the exact C:\Windows\System32\wsl.exe --version command failed with exit status 1 and empty stdout/stderr, then reported WSL update required. The same executable and command succeeded consistently when run directly from PowerShell.

During a later official com.docker.diagnose.exe gather -upload run, the backend initially reported a reduced/stopped VM state and waited for the init control API. It eventually started the WSL engine after 2m16.049s, and the Docker daemon became ready 2m25.972s after startup.

Reproduction steps

  1. Start Docker Desktop normally with the WSL 2 backend.
  2. Wait for Docker Desktop to complete engine initialization.
  3. Observe that startup may remain blocked or take several minutes.
  4. In the affected attempt, inspect the backend logs and observe the failed WSL version precondition check followed by WSL update required.
  5. Run C:\Windows\System32\wsl.exe --version directly from PowerShell. In this environment it succeeded five consecutive times with exit code 0 and empty stderr.
  6. Run the official diagnostic upload command. In the captured run, the engine eventually became ready only after the delays described below.

Technical evidence

  • Five direct wsl.exe --version runs succeeded with exit code 0; durations were 900, 188, 144, 166, and 147 ms; stderr was empty.
  • During the official diagnostic collection, wsl.exe --version succeeded in 823.3176 ms.
  • wsl.exe -l -v succeeded in 188.078 ms and showed docker-desktop running on WSL 2.
  • The backend initially reported booted:true, reduced:true, vmStopped:true; the final state was booted:true, vmRunning:true.
  • The official bundle showed dockerd and containerd running and Docker Engine 29.6.2 available.
  • The diagnostic upload completed successfully with exit code 0 in approximately 9m23s.
  • No Docker Desktop reset, reinstall, WSL distribution recreation, or application containers were used.

Relevant log excerpts

c:\windows\system32\wsl.exe --version failed: exit status 1 (stdout:"", stderr:"")
WSL update required
engine linux/wsl is running after 2m16.049s
engine linux/wsl docker daemon became ready 2m25.972s after start

Platform

Windows

Version information

Docker Desktop: 4.84.0 (234817)
Docker Engine: 29.6.2
Docker API version: 1.55
WSL: 2.7.11.0
WSL kernel: 6.18.33.2-2
Windows: 10.0.19045.6466
Backend: WSL 2
Engine OS/Arch: linux/amd64
Engine kernel: 6.18.33.2-microsoft-standard-WSL2
containerd: 2.2.5
runc: 1.3.6

Diagnostics ID

D34A9AC9-4B7F-4530-9EBA-F0D6A09017AD/20260731121636

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions