Docker paused will not resume after a while
- [x] I have tried with the latest version of Docker Desktop
- [?] I have tried disabling enabled experimental features
- [x] 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
Thanks for the report and for trying the new experimental feature. We're looking into it.
Same issue with with Mac Intel chip.
We have now fixed this issue in Docker Desktop 4.4.2, thank you!
We have now fixed this issue in Docker Desktop 4.4.2, thank you!
I may have missed something but I have version Docker Desktop 4.4.2 (73305) and still have the problem.
@ppastur can you upload diagnostics so that we can have a look?
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.
I'm still having this issue in 4.4.2. Here's my diagnostics id 10DB2225-494C-4A4E-92BA-7106942338B3/20220119102459
I can reproduce it, hope to do a fix!
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.
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).
Ya I am having this issue on Apple Silicon
Same for me. MacBook Pro, Apple Silicon. The solution was for me just to use restart button and after this to click on resume and it worked.
Version of Docker Desktop: 4.5.0
Same for me. MacBook Pro, Apple Silicon. The solution was for me just to use restart button and after this to click on resume and it worked.
Version of Docker Desktop: 4.5.0
This is my temp fix too at the moment. MacBook Pro, M1 Pro, Monterrey 12.2.1, Docker 4.5.0
Still having this problem on MacBook pro intel 12.3, Docker 4.6.1.
I was in love with the pause button due to our heavy dev environment, so this no longer working makes me sad.
Still having this problem on MacBook pro intel 12.3, Docker 4.6.1.
I was in love with the pause button due to our heavy dev environment, so this no longer working makes me sad.
M1 Pro macOS 12.3, Docker 4.6.1 exactly the same case :/ The "pause" button work fine but impossible to resume without restart Docker 😢
I'll try it again when this issue will be closed ^^
Same for me. (Apple Silicon M1). But resume button works fine, before my mac going to sleep. After mac os wake up resume button does nothing
Docker Desktop 4.6.1
Same for me. (Apple Silicon M1). But resume button works fine, before my mac going to sleep. After mac os wake up resume button does nothing
Docker Desktop 4.6.1
Same! After hibernate mode, i tried to spam resume button several times - nothing, also found on internet that any docker cli command should unpause it - it just hangs.
Docker Desktop 4.7.0 - same thing After some delay when docker has been paused it hangs in pause mode and never alive only restarting docker helps
Maybe the events request to change the state is blocked, as I can see there are some cases where the state of UI components is out of sync. This was visible to me after not being able to resume I restarted Docker Desktop.
Once I perform some task, e.g. docker-compose ps the UI update to properly reflect the state of docker
On Docker Desktop version 4.7.0 (77141) with MacOS 12.3.1

Docker Desktop 4.7.1 using the "Experimental Features" on MBP with M1 MAX -- same thing. Once paused, after a while it cannot be resumed and requires a "restart". Quite annoying as I tend to pause often -- Docker is the most significant battery consumer on the laptop.