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

Can't start docker #13786

Open
niikoo opened this issue Nov 8, 2023 · 10 comments
Open

Can't start docker #13786

niikoo opened this issue Nov 8, 2023 · 10 comments

Comments

@niikoo
Copy link

niikoo commented Nov 8, 2023

Description

Suddenly, Docker stopped working. I can't start it and I am not able to find any reason for it. WSL2 is working fine.

Reproduce

  1. Start Docker Desktop

Expected behavior

It should start up and not throw an error.

Output of docker version and docker info attached to this issue was run in an elevated command prompt, but it says: the docker client must be run with elevated privileges to connect

docker version

error during connect: in the default daemon configuration on Windows, the docker client must be run with elevated privileges to connect: 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.35+desktop.5
 Version:           24.0.6
 API version:       1.43
 Go version:        go1.20.7
 Git commit:        ed223bc
 Built:             Mon Sep  4 12:32:48 2023
 OS/Arch:           windows/amd64
 Context:           default

docker info

Client:
 Version:    24.0.6
 Context:    default
 Debug Mode: false
 Plugins:
  buildx: Docker Buildx (Docker Inc.)
    Version:  v0.11.2-desktop.5
    Path:     C:\Program Files\Docker\cli-plugins\docker-buildx.exe
  compose: Docker Compose (Docker Inc.)
    Version:  v2.22.0-desktop.2
    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.20
    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.8
    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: Docker Scout (Docker Inc.)
    Version:  v1.0.7
    Path:     C:\Program Files\Docker\cli-plugins\docker-scout.exe

Server:
ERROR: error during connect: in the default daemon configuration on Windows, the docker client must be run with elevated privileges to connect: 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

75F9117A-C15D-43D1-80DB-6CB1F4D206F3/20231108113943

Additional Info

Screenshot of error:
image

I have run a factory reset on the Docker Desktop app itself, without any success.

@Berringer
Copy link

Berringer commented Nov 8, 2023

image
I had the same issue, had to update to latest.

Edit sorry, updated to 4.25.0

@vipatel07
Copy link

Having the same issue while running the docker version command on Powershell (run as administrator).
image

@niikoo
Copy link
Author

niikoo commented Nov 10, 2023

@vipatel07 I got the samme issue in cmd

@kNewBcaveman
Copy link

Same.
Just installed 4.25.0.0 on 11-11-23.
Unable to start.
Using default settings.
Have reset Defaults.

Repeated System error in diagnosis.

[2023-11-11T23:52:24.101888700Z][com.docker.diagnose.exe.ipc][I] ipc.NewClient: c3e84ae8-diagnose -> \.\pipe\dockerBackendApiServer BackendAPI
[2023-11-11T23:52:24.106536100Z][com.docker.diagnose.exe.ipc][I] (05e07597) c3e84ae8-diagnose C->S BackendAPI POST /idle/make-busy
[2023-11-11T23:52:24.107059400Z][com.docker.diagnose.exe.ipc][W] (05e07597) c3e84ae8-diagnose C<-S NoResponse POST /idle/make-busy (523.3µs): Post "http://ipc/idle/make-busy": open \.\pipe\dockerBackendApiServer: The system cannot find the file specified.

@kNewBcaveman
Copy link

kNewBcaveman commented Nov 12, 2023

Also tried going back to 4.24.2.
App appears to initialize and opens the default login license acceptance screen.
It is static there for about 1-2 seconds then disappears and produces the error - Unexpected WSL error.
Once error is received, you never see the login page (maybe a quick screen flash) and it goes straight to error.

Windows 10 Pro - 22H2 - 19045.3570

Fails with VPN on or off.

@andy221166
Copy link

Also tried going back to 4.24.2. App appears to initialize and opens the default login license acceptance screen. It is static there for about 1-2 seconds then disappears and produces the error - Unexpected WSL error. Once error is received, you never see the login page (maybe a quick screen flash) and it goes straight to error.

Windows 10 Pro - 22H2 - 19045.3570

Fails with VPN on or off.

I have the same issue. Anyone can help fix

@SimonWoidig
Copy link

I have the same issue. Started my computer today and suddenly got the same error.

@niikoo
Copy link
Author

niikoo commented Nov 21, 2023

Tried to fix it, but it ended up corrupting my volumes. So I lost some data and had to start over again. It worked after a reinstall.

@andy221166
Copy link

I had to do the below steps to make Docker get back to work:

  1. Uninstall WSL and Linux Distro following this tutorial https://pureinfotech.com/uninstall-wsl2-windows-10/
  2. Uninstall Docker
  3. Delete this key HKEY_LOCAL_MACHINE\SOFTWARE\Classes\PackagedCom\ClassIndex\{A9B7A1B9-0671-405C-95F1-E0612CB4CE7E}. See this issue: Wsl/ERROR_NOT_FOUND after installing Windows updates microsoft/WSL#10782
  4. Re-install WSL 2 and Docker. Now it worked!

@ZombieSouls
Copy link

but not work 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

8 participants