Skip to content
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 commands hang on resuming from sleep #248

Closed
ZAlfonse opened this issue Aug 12, 2016 · 5 comments
Closed

Docker commands hang on resuming from sleep #248

ZAlfonse opened this issue Aug 12, 2016 · 5 comments

Comments

@ZAlfonse
Copy link

ZAlfonse commented Aug 12, 2016

Expected behavior

Docker commands work

Actual behavior

Most docker commands hang completely or respond with various Error response from daemon errors. (I forgot to copy them down, I'll update the ticket when I see them again)

Information

This seems to be happening mostly on resume from sleep. Clicking the restart button inside the docker menu doesn't fix the problem even though it does seem to restart. Quitting and relaunching entirely seems to fix it after a few more errors. It does seem to be eating CPU, so maybe this is the issue I was warned about on install, but the fix that was given to us in that dialog box isn't working.

Diagnostic ID: 51ED0C41-D9CD-47F7-A349-041D1A0E56AC
Docker for Mac: 1.12.0 (Build 10871)
macOS: Version 10.10.5 (Build 14F1909)
[ERROR] docker-cli
docker ps failed
[OK] app
[OK] moby-syslog
[OK] disk
[OK] virtualization
[OK] system
[OK] menubar
[OK] osxfs
[OK] db
[OK] slirp
[OK] moby-console
[OK] logs
[OK] vmnetd
[OK] env
[OK] moby
[OK] driver.amd64-linux

Steps to reproduce

  1. Wake up computer from sleep
  2. Run any docker command that requires a connection to the docker daemon. docker ps docker images etc
@joshmanders
Copy link

Getting same thing

Diagnostic ID: 6AAD22FC-B2B4-41E5-AC4C-D7B3485FD7DC
Docker for Mac: 1.12.0-a (Build 11213)
macOS: Version 10.11.6 (Build 15G31)
[ERROR]  docker-cli
         docker ps failed
[OK]     app
[OK]     moby-syslog
[OK]     disk
[OK]     virtualization
[OK]     system
[OK]     menubar
[OK]     osxfs
[OK]     db
[OK]     slirp
[OK]     moby-console
[OK]     logs
[OK]     vmnetd
[OK]     env
[OK]     moby
[OK]     driver.amd64-linux

@mchiang0610
Copy link

Merging with #119

@samoht
Copy link
Contributor

samoht commented Oct 12, 2016

Detected symptom of problem 'invariant-violated' in 51ED0C41-D9CD-47F7-A349-041D1A0E56AC/20160812-081102.

An invariant within the code of one of the components was not held. Docker needs to be restarted.

May be related to #89

The following log matches:

Aug 11 15:29:32 zak-mbp-dev2.smartbargains.com Docker[com.docker.slirp][827] <Error>: TCP 23.23.162.105:443 > 192.168.65.2:56222 proxy failed with flow proxy b: Connection refused
Aug 11 15:29:32 zak-mbp-dev2.smartbargains.com Docker[com.docker.osxfs][825] <Notice>: Volume.stop 0bf6e264923a0a238e060c104d3d6750f072768eafb77951fc234e9204d0704b (paths = [/Users/zalfonse/Repos/smoketests/])
Aug 11 15:29:32 zak-mbp-dev2.smartbargains.com Docker[com.docker.osxfs][825] <Error>: WATCH SUBSCRIBER REMOVAL INVARIANT VIOLATED
Aug 11 15:29:32 zak-mbp-dev2.smartbargains.com Docker[com.docker.driver.amd64-linux][829] <Notice>: VM: 2016-08-11 19:29:32 +0000 UTC daemon.info vsudd: Connection 17 to: 2376 from: 00000000
Aug 11 15:29:32 zak-mbp-dev2.smartbargains.com Docker[com.docker.driver.amd64-linux][829] <Notice>: VM: 2016-08-11 19:29:32 +0000 UTC kern.info kernel: veth84dbc87: renamed from eth0
Aug 11 15:29:32 zak-mbp-dev2.smartbargains.com Docker[com.docker.driver.amd64-linux][829] <Notice>: VM: 2016-08-11 19:29:32 +0000 UTC kern.info kernel: docker0: port 1(vetha1f3ae1) entered disabled state

/cc @dsheets

@dsheets
Copy link
Contributor

dsheets commented Oct 31, 2016

The invariant violation issue is not the root cause of this report. This particular invariant violation issue was fixed in Beta 23/Stable 1.12.1.

@docker-robott
Copy link
Collaborator

Closed issues are locked after 30 days of inactivity.
This helps our team focus on active issues.

If you have found a problem that seems similar to this, please open a new issue.

Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows.
/lifecycle locked

@docker docker locked and limited conversation to collaborators Jun 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

7 participants