Docker Engine Not Starting · Issue #13547 · docker/for-win (original) (raw)

Description

The docker engine refuses to start on Windows 11 PC and shows loading spinner infinitely. Previously tried to run diagnostics test when using WSL2 but that failed, so did manual diagnostics from terminal and discovered several failing tests but was unable to fix. Now, using Hyper V, the engine instead says "failed to start" and diagnostics in the docker desktop succeeded, which is the code attached to this post. Have spent a lot of time trying to fix this and no solution online seem to work.

Reproduce

  1. Open docker desktop
  2. Either start engine spinner will run infinitely or engine will fail to start

Expected behavior

I would expect the docker engine to work the first time I downloaded it :( .

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.33 Version: 24.0.2 API version: 1.43 Go version: go1.20.4 Git commit: cb74dfc Built: Thu May 25 21:53:15 2023 OS/Arch: windows/amd64 Context: default

docker info

Client: Version: 24.0.2 Context: default Debug Mode: false Plugins: buildx: Docker Buildx (Docker Inc.) Version: v0.10.5 Path: C:\Program Files\Docker\cli-plugins\docker-buildx.exe compose: Docker Compose (Docker Inc.) Version: v2.18.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.19 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.4 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: Command line tool for Docker Scout (Docker Inc.) Version: v0.12.0 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

84BF44E0-88A4-4F12-897F-0265E89C4312/20230615155721

Additional Info

No response