-
Notifications
You must be signed in to change notification settings - Fork 289
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 dies and disappears, all docker queries fail #13585
Comments
Hi @rfay , thanks for the diagnostic. It looks like the
Coincidentally the Hyper-V event logs have a series of messages around this time (I think they're in local time):
It's hard to tell for sure, but my guess is the WSL 2 VM terminated (or crashed), causing Docker to fail. I don't know why this would happen though. |
Thanks for taking a look @djs55 - I do think that Docker Desktop would be better to stay alive after WSL2 crash, and show the problem? While this happens fairly often in current DD, I note that our similar tests of docker-ce in WSL2 (Ubuntu) do have occasional WSL2 (or distro) crashes that are unexplained. I guess in both cases I can get some more monitoring and logging going inside those distros. |
After a recent crash of this type I did
|
I'm thinking this may be memory exhausted. I'll try the new experimental commands to manage memory better in WSL2 2.0.0, https://devblogs.microsoft.com/commandline/windows-subsystem-for-linux-september-2023-update/ |
I think this is probably a duplicate of |
Description
docker ps
command fails.Reproduce
This happens fairly often in DDEV's automated tests. It seems to happen most on the WSL2 tests, where docker is being used inside an Ubuntu WSL2 distro.
Expected behavior
It shouldn't die on us.
docker version
(done on Windows side because docker daemon is dead) 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.35 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
After reboot, from inside wsl2 distro:
docker info
docker info doesn't work when daemon is dead. Will update after reboot.
Diagnostics ID
714965AA-305C-4811-B395-B1F87D1BCF18/20230705185519
Additional Info
No response
The text was updated successfully, but these errors were encountered: