Repository navigation
Docker paused will not resume after a while #6058
Copy link
Copy link
Closed
Description
- I have tried with the latest version of Docker Desktop
- [?] I have tried disabling enabled experimental features
- I have uploaded Diagnostics
- Diagnostics ID: 2AC72C0C-F9FC-44D3-A6DA-E1D42B3DC250/20211123144429 and 2AC72C0C-F9FC-44D3-A6DA-E1D42B3DC250/20211122202700
Expected behavior
Docker resume when I run a docker command or by clicking resume in the menu
Actual behavior
Docker is paused:
[FAIL] DD0016: is the LinuxKit VM running? vm is not running: vm has not started
[PASS] DD0001: is the application running?
[PASS] DD0018: does the host support virtualization?
[FAIL] DD0017: can a VM be started? vm has not started: vm has not started
Information
- macOS Version: 12.0.1 (21A559)
- Intel chip or Apple chip: Apple M1 Pro
- Docker Desktop Version: 4.2.0 (70708)
Steps to reproduce the behavior
- Pause docker
- Put the Mac in sleep (closing the screen of the MBP)
- Run a docker compose command, docker info command, try to resume by clicking Resume on the dock icon
Interesting finding in the logs:
2021-11-22 15:09:54.675764-0500 localhost com.docker.driver.amd64-linux[10450]: Resuming vm, user agent is: Docker-Client/20.10.10 (darwin)
2021-11-22 15:09:54.677543-0500 localhost com.docker.driver.amd64-linux[10450]: (6e2a1d6d) d221324c-DriverCMD C->S BackendAPI POST /unpause
2021-11-22 15:09:54.679544-0500 localhost com.docker.backend[9569]: (6e2a1d6d) bf40619e-BackendAPI S<-C d221324c-DriverCMD POST /unpause[[STACK]]github.com/docker/pinata/common/pkg/backend.(*backendClient).Unpause(0x140000781f0)
/Users/administrator/jenkins/workspace/op_desktop-build_master-merge_18/src/github.com/docker/pinata/common/pkg/backend/client.go:258 +0x60
github.com/docker/pinata/common/pkg/proxy.NewRouter.func2.1({0x102e69dd0, 0x140001b62a0}, 0x140000a0a00)
/Users/administrator/jenkins/workspace/op_desktop-build_master-merge_18/src/github.com/docker/pinata/common/pkg/proxy/proxy.go:112 +0x3a4
github.com/docker/pinata/common/pkg/proxy.NewRouter.func1.1({0x102e69dd0, 0x140001b62a0}, 0x140000a0a00)
/Users/administrator/jenkins/workspace/op_desktop-build_master-merge_18/src/github.com/docker/pinata/common/pkg/proxy/proxy.go:76 +0x184
github.com/docker/pinata/common/pkg/proxy.(*restrictions).Middleware.func1({0x102e69dd0, 0x140001b62a0}, 0x140000a0a00)
/Users/administrator/jenkins/workspace/op_desktop-build_master-merge_18/src/github.com/doc<decode: missing data>
2021-11-22 15:09:54.679573-0500 localhost com.docker.backend[9569]: [...] ker/pinata/common/pkg/proxy/restrictions.go:74 +0x180
github.com/docker/pinata/common/pkg/proxy.(*GuiAnalytics).Middleware.func1({0x102e69dd0, 0x140001b62a0}, 0x140000a0a00)
/Users/administrator/jenkins/workspace/op_desktop-build_master-merge_18/src/github.com/docker/pinata/common/pkg/proxy/analytics.go:62 +0xe0
github.com/gorilla/mux.(*Router).ServeHTTP(0x140001ec6c0, {0x102e69dd0, 0x140001b62a0}, 0x140000a0800)
/Users/administrator/jenkins/workspace/op_desktop-build_master-merge_18/src/github.com/docker/pinata/vendor/github.com/gorilla/mux/mux.go:210 +0x1e4
2021-11-22 15:09:54.680238-0500 localhost com.docker.backend[9569]: (6e2a1d6d-1) e4b36909-PauseHDL C->S procd POST /unpause
2021-11-22 15:09:54.681068-0500 localhost com.docker.backend[9569]: (6e2a1d6d-1) e4b36909-PauseHDL C<-S NoResponse POST /unpause (809.583µs): Post "http://ipc/unpause": dial unix procd.sock: connect: connection refused
Reactions are currently unavailable
Activity
StefanScherer commentedon Nov 24, 2021
Thanks for the report and for trying the new experimental feature. We're looking into it.
SpadarShut commentedon Dec 16, 2021
Same issue with with Mac Intel chip.
mat007 commentedon Jan 14, 2022
We have now fixed this issue in Docker Desktop 4.4.2, thank you!
ppastur commentedon Jan 18, 2022
I may have missed something but I have version Docker Desktop 4.4.2 (73305) and still have the problem.
mat007 commentedon Jan 18, 2022
@ppastur can you upload diagnostics so that we can have a look?
ppastur commentedon Jan 18, 2022
Hi @mat007 , I just tried to reproduce the error (after it happened twice my morning) and it seems to be behaving. Ill keep an eye on it and if it happens again ill grab diags and upload.
SpadarShut commentedon Jan 19, 2022
I'm still having this issue in 4.4.2. Here's my diagnostics id 10DB2225-494C-4A4E-92BA-7106942338B3/20220119102459
ebriney commentedon Jan 20, 2022
I can reproduce it, hope to do a fix!
mvhayman-afs commentedon Feb 15, 2022
Also having this issue. When selecting the restart option within docker desktop it goes into a loop. Diagnosing also just seems to say 'Diagnosing...' for a long time so I can't give you a diagnostic id unfortunately.
NReilingh commentedon Mar 2, 2022
I'm having this issue on Apple Silicon.
I think a compounding issue that needs fixing is that within the dashboard window, the interaction loop for clicking significant buttons like "restart and update" or "resume" has no immediate UI feedback. They seem to expect a command to return from the daemon or something before showing any visual feedback, and I suspect may even allow multiple commands to be dispatched asynchronously which can cause unexpected behavior. When a button like this is clicked, the UI needs to respond immediately by disabling further clicks of the button and showing a visual indicator that something is happening (or at least being attempted).
owenduncansnobel commentedon Mar 8, 2022
Ya I am having this issue on Apple Silicon
66 remaining items
eosmantis commentedon Feb 10, 2023
The issue (Docker paused and will not resume) is still reproducible Version in Docker Desktop Version 4.16.2 (95914) on MacOS Ventura 13.0
eosmantis commentedon Feb 10, 2023
Error-Message: "Unable to calculate image disk size" (but not visible by using the mini-menu)
lprimak commentedon Mar 4, 2023
Maybe fixed again?
Surviving through multiple pauses for 3 days now... fingers crossed!
version 4.17.0 (99724)
alishaevn commentedon Apr 5, 2023
Apple Macbook Pro 2020
Docker 4.15.0 (93002)
macOS 13.2.1
I paused docker last night. Upon waking the OS from sleep this morning, I was unable to get Docker to resume by pressing "resume" from the Docker icon drop down nor the Docker dashboard. Running a docker command from the terminal hung without any messages. Restarting Docker didn't do anything, so I tried restarting a second time. The second time....it froze me out from any options from the icon drop down at all. The Docker app icon still showed the containers going up and down as though something was happening, but nothing appeared to be.
Force closing Docker from Activity Monitor and then restarting the app is what eventually worked.
lprimak commentedon Apr 5, 2023
@alishaevn this looks fixed with the latest version you are running an older version where this is still broken.
morganestes commentedon Apr 11, 2023
@lprimak I'm on 4.17.0 and running into the problem just this morning. Can't resume or restart, and got the same "Unable to calculate image disk size" error message as @eosmantis.
infoman commentedon May 16, 2023
I'm having the opposite problem, I pause the engine and after a while it silently un-pauses itself without any commands or other obvious interaction
lprimak commentedon May 16, 2023
Yup. Me too. Latest update broke pause on the opposite way
NotTimIsReal commentedon May 16, 2023
simonberger commentedon May 31, 2023
I also have the problem of auto resuming docker engine which is annoying, especially when using in battery mode and not needing docker for a while.
Auto resuming is not just rarely happening but at least after like 15-30min so I end up having it not paused a long time which hurts battery runtime a lot. I couldn't yet really find out why this is happening. In logs could just see the same of the initial posting
I am on newest version 4.20 and as described the same behavior happens to me since many versions (it was never different)
ravi-rafay commentedon May 14, 2024
Still facing this issue on docker desktop for mac v4.30.0
m0n9oose commentedon May 14, 2024
Fixed the problem by removing DD, and switching to an alternative app 👍
hoschi commentedon Jun 21, 2025
I have also the problem that DD doesn't resume.
lprimak commentedon Feb 1, 2026
I think this has been fixed now