-
Notifications
You must be signed in to change notification settings - Fork 122
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-cli fails after laptop sleep #536
Comments
@pwright08 Just to confirm, Docker engine was working correctly before sleep? |
Seems similar to #537 |
@mchiang0610 yes it was working correctly beforehand |
Using the Whale -> Restart option from the status bar doesn't resolve the issue, you must use the Quit Docker option and also verify that no docker processes are running (except for com.docker.vmnetd) before starting again using the Activity Monitor. Otherwise both restart or quit with a too quick start will result in that docker ps command still hangs. Looking in the logs it always seems that nothing more happens after this line has been logged: Waiting for all docker processes to terminate and then starting Docker the logs will show much more things after that logged line and docker ps will work again. |
Merging with #119 |
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:
|
This invariant violation was a symptom of a use-after-free bug in the file system event watching code which occurred due to multiple containers with volume mounts racing to set up their mounts. It is possible that it caused your hangs or crashes and has been fixed in the recently released Beta 29.3. Please open a new issue for any further problems. Thanks! |
Closed issues are locked after 30 days of inactivity. 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. |
Expected behavior
I should be able to run
docker-compose up
after waking my laptop up from sleep, even though docker was running when it went to sleepActual behavior
%
docker-compose up
ERROR: Bad response from Docker engine
%
docker ps
Error response from daemon: Bad response from Docker engine
Information
Diagnostic ID: D69C1FD9-D7C5-42F3-8643-074F0C274015
Docker for Mac: 1.12.0-a (Build 11213)
macOS: Version 10.10.5 (Build 14F27)
[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
docker-compose up
The text was updated successfully, but these errors were encountered: