-
Notifications
You must be signed in to change notification settings - Fork 120
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 4.36.0 stops working during computer sleep #7493
Comments
I've experienced similar running Docker Desktop on MacOS ARM. Recently, Docker Desktop appears to be getting hung up or dropping networking after long periods of time running. I've tried to get Docker Desktop out of a "zombie like state" when it gets stuck by manually restarting the daemon. I don't believe this issue is linux specific and I don't believe any computer settings will change the behavior. My ARM computer should not be dropping networking when its set up to run without sleep mode. |
Similar problem. Docker desktop does not survive sleep/closing of laptop shell. Will not shut down either after this occurs; must be force-quit and restarted.
And I found this in the logs:
The time stamp in the log is associated with reopening the laptop, not closing it or shutting down the app via user/admin input. It falsely seems to say there was a clean shutdown, yet Docker Desktop is open but in this arrested state. It could be entering this state over prolonged periods but it is definitely doing this after closing and reopening the laptop clamshell. |
This comment has been minimized.
This comment has been minimized.
@doberkofler thanks for the report. I tried to reproduce with the latest patch release by starting DD, letting my machine fall asleep, waiting, waking the machine and checking it was ok. Unfortunately it doesn't reproduce for me. Could you try again with 4.37.1 and, if it still reproduces, could you grab diagnostics while it's still in the hung state? There might be a deadlock somewhere but restarting deletes the evidence. If the diagnostics themselves hang (hopefully not, but just in case) could you grab the output of
and attach to the issue? Thanks in advance! |
Description
It seems as if with the upgrade to 4.36.0 the Docker Desktop engine would stop working when the computer is in sleep mode.
After waking the computer up, the engine is stopped and cannot be restarted.
Only completely quitting Docker Desktop and restarting it solves the problem.
Reproduce
Put computer in sleep mode
Expected behavior
No response
docker version
Client: Version: 27.3.1 API version: 1.47 Go version: go1.22.7 Git commit: ce12230 Built: Fri Sep 20 11:38:18 2024 OS/Arch: darwin/amd64 Context: desktop-linux Server: Docker Desktop 4.36.0 (175267) Engine: Version: 27.3.1 API version: 1.47 (minimum version 1.24) Go version: go1.22.7 Git commit: 41ca978 Built: Fri Sep 20 11:41:11 2024 OS/Arch: linux/amd64 Experimental: false containerd: Version: 1.7.21 GitCommit: 472731909fa34bd7bc9c087e4c27943f9835f111 runc: Version: 1.1.13 GitCommit: v1.1.13-0-g58aa920 docker-init: Version: 0.19.0 GitCommit: de40ad0
docker info
Diagnostics ID
79912DA4-8398-4A43-89C0-F3CB52D03706/20241127070311
Additional Info
No response
The text was updated successfully, but these errors were encountered: