Skip to content

Docker paused will not resume after a while #6058

Description

@jmaitrehenry
  • 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

  1. Pause docker
  2. Put the Mac in sleep (closing the screen of the MBP)
  3. 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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions