docker / for-win

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

Docker Engine not starting #13375

Open Shashankkt opened 1 year ago

Shashankkt commented 1 year ago

Actual behavior

Expected behavior

Information

Docker engine was running perfectly fine till couple of days back, but now suddenly it has stopped working, tried all the approaches for the similar issue on StackOverflow but nothing worked, here are the logs for the same:

image

Dignostics Logs:

C:\Program Files\Docker\Docker\resources>com.docker.diagnose.exe check [2023-04-10T07:56:50.253499700Z][com.docker.diagnose.exe][I] set path configuration to OnHost Starting diagnostics

[PASS] DD0027: is there available disk space on the host? [SKIP] DD0028: is there available VM disk space? [PASS] DD0002: does the bootloader have virtualization enabled? [SKIP] DD0018: does the host support virtualization? [PASS] DD0001: is the application running? [PASS] DD0017: can a VM be started? [PASS] DD0016: is the LinuxKit VM running? [FAIL] DD0011: are the LinuxKit services running? failed to ping VM diagnosticsd with error: Get "http://ipc/ping": open \.\pipe\dockerDiagnosticd: The system cannot find the file specified. [2023-04-10T07:56:50.703820900Z][com.docker.diagnose.exe][I] ipc.NewClient: 8241dffd-diagnose -> \.\pipe\dockerDiagnosticd diagnosticsd [2023-04-10T07:56:50.703820900Z][com.docker.diagnose.exe][I] (e0bd544e) 8241dffd-diagnose C->S diagnosticsd GET /ping [2023-04-10T07:56:50.705681200Z][com.docker.diagnose.exe][W] (e0bd544e) 8241dffd-diagnose C<-S NoResponse GET /ping (1.8603ms): Get "http://ipc/ping": open \.\pipe\dockerDiagnosticd: The system cannot find the file specified.

[PASS] DD0023: is the Containers Windows Feature enabled? [FAIL] DD0004: is the Docker engine running? Get "http://ipc/docker": open \.\pipe\dockerLifecycleServer: The system cannot find the file specified. [2023-04-10T07:56:51.538648800Z][com.docker.diagnose.exe][I] ipc.NewClient: de76d967-com.docker.diagnose -> \.\pipe\dockerLifecycleServer VMDockerdAPI [2023-04-10T07:56:51.538648800Z][com.docker.diagnose.exe][I] (1f8408e2) de76d967-com.docker.diagnose C->S VMDockerdAPI GET /docker [2023-04-10T07:56:51.539853200Z][com.docker.diagnose.exe][W] (1f8408e2) de76d967-com.docker.diagnose C<-S NoResponse GET /docker (1.2044ms): Get "http://ipc/docker": open \.\pipe\dockerLifecycleServer: The system cannot find the file specified. [2023-04-10T07:56:51.539853200Z][com.docker.diagnose.exe][I] (1f8408e2-1) de76d967-com.docker.diagnose C->S VMDockerdAPI GET /ping [2023-04-10T07:56:51.540972800Z][com.docker.diagnose.exe][W] (1f8408e2-1) de76d967-com.docker.diagnose C<-S NoResponse GET /ping (1.1196ms): Get "http://ipc/ping": open \.\pipe\dockerLifecycleServer: The system cannot find the file specified. [2023-04-10T07:56:52.555518000Z][com.docker.diagnose.exe][I] (1f8408e2-2) de76d967-com.docker.diagnose C->S VMDockerdAPI GET /ping [2023-04-10T07:56:52.556126400Z][com.docker.diagnose.exe][W] (1f8408e2-2) de76d967-com.docker.diagnose C<-S NoResponse GET /ping (608.4µs): Get "http://ipc/ping": open \.\pipe\dockerLifecycleServer: The system cannot find the file specified. [2023-04-10T07:56:53.574156400Z][com.docker.diagnose.exe][I] (1f8408e2-3) de76d967-com.docker.diagnose C->S VMDockerdAPI GET /ping [2023-04-10T07:56:53.574689600Z][com.docker.diagnose.exe][W] (1f8408e2-3) de76d967-com.docker.diagnose C<-S NoResponse GET /ping (533.2µs): Get "http://ipc/ping": open \.\pipe\dockerLifecycleServer: The system cannot find the file specified. [2023-04-10T07:56:54.581942100Z][com.docker.diagnose.exe][I] (1f8408e2-4) de76d967-com.docker.diagnose C->S VMDockerdAPI GET /ping [2023-04-10T07:56:54.583130000Z][com.docker.diagnose.exe][W] (1f8408e2-4) de76d967-com.docker.diagnose C<-S NoResponse GET /ping (1.1879ms): Get "http://ipc/ping": open \.\pipe\dockerLifecycleServer: The system cannot find the file specified. [2023-04-10T07:56:55.592553600Z][com.docker.diagnose.exe][I] (1f8408e2-5) de76d967-com.docker.diagnose C->S VMDockerdAPI GET /ping [2023-04-10T07:56:55.594329000Z][com.docker.diagnose.exe][W] (1f8408e2-5) de76d967-com.docker.diagnose C<-S NoResponse GET /ping (2.0669ms): Get "http://ipc/ping": open \.\pipe\dockerLifecycleServer: The system cannot find the file specified. [2023-04-10T07:56:56.610472000Z][com.docker.diagnose.exe][I] (1f8408e2-6) de76d967-com.docker.diagnose C->S VMDockerdAPI GET /ping [2023-04-10T07:56:56.611122300Z][com.docker.diagnose.exe][W] (1f8408e2-6) de76d967-com.docker.diagnose C<-S NoResponse GET /ping (650.3µs): Get "http://ipc/ping": open \.\pipe\dockerLifecycleServer: The system cannot find the file specified. [2023-04-10T07:56:57.618314400Z][com.docker.diagnose.exe][I] (1f8408e2-7) de76d967-com.docker.diagnose C->S VMDockerdAPI GET /ping [2023-04-10T07:56:57.619370400Z][com.docker.diagnose.exe][W] (1f8408e2-7) de76d967-com.docker.diagnose C<-S NoResponse GET /ping (1.056ms): Get "http://ipc/ping": open \.\pipe\dockerLifecycleServer: The system cannot find the file specified. [2023-04-10T07:56:58.626145900Z][com.docker.diagnose.exe][I] (1f8408e2-8) de76d967-com.docker.diagnose C->S VMDockerdAPI GET /ping [2023-04-10T07:56:58.627458200Z][com.docker.diagnose.exe][W] (1f8408e2-8) de76d967-com.docker.diagnose C<-S NoResponse GET /ping (1.3123ms): Get "http://ipc/ping": open \.\pipe\dockerLifecycleServer: The system cannot find the file specified.

[PASS] DD0015: are the binary symlinks installed? [FAIL] DD0031: does the Docker API work? error during connect: This error may indicate that the docker daemon is not running.: Get "http://%2F%2F.%2Fpipe%2Fdocker_engine_linux/v1.24/containers/json?limit=0": open //./pipe/docker_engine_linux: The system cannot find the file specified. [PASS] DD0013: is the $PATH ok? error during connect: This error may indicate that the docker daemon is not running.: Get "http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/containers/json": open //./pipe/docker_engine: The system cannot find the file specified. [FAIL] DD0003: is the Docker CLI working? exit status 1 [FAIL] DD0005: is the user in the docker-users group? The user name could not be found. [PASS] DD0038: is the connection to Docker working? 2023/04/10 13:27:00 error checking if default wsl distro is running: exit status 0xffffffff

uiv11568 commented 1 year ago

Hi,

I was having a similar issue with my docker, and searched everywhere for a solution. I first went to Hyper-V manger (can be found by searching in the task bar) and made sure "DockerDesktopVM" was running by right clicking and then pressing connect. Then afterwards, I still was having trouble connecting, but I knew it was no longer a Hyper-V issue. I restarted my machine and did the same step and I was still getting that error. Then what made it work was I went into service.msc, stopped both "Docker Desktop Service" and "Docker Engine". afterwards, I started Docker Desktop, it threw an error saying docker engine was not running, went back to the services.msc window, started both Docker Engine and Docker Desktop Service and it finally started to work.