Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Docker Hangs intermittently #2984
Docker doesn't hang
Docker hangs intermittently. Needs to be completely restarted to get it running properly again
DIAGNOSTIC ID: 8C3AB885-B389-47C0-980B-799EBB5D8F56
Docker for Mac: version: 18.03.1-ce-mac65 (dd2831d4b7421cf559a0881cc7a5fdebeb8c2b98)
Steps to reproduce the behavior
It just happens intermittently and is noticed when a request is made to a container.. very hard to grab any logs at exactly that moment as Docker is just completely unresponsive.
Thanks for your report. Looking through the logs that exist I can see that the networking is working in the VM and the console/dmesg don't seem to have anything worrying on them. We don't seem to have the contents of
There have been some diagnostic improvements (and general bug fixes) in the latest edge version:18.05.0-ce-mac67 -- could you give that a go and let me know how it goes? If it fails, could you upload a fresh diagnostic and also try logging into the VM via the serial console with
inside the VM.
While investigating this I discovered that the VM log directory was accidentally created in
I can't tell for sure whether this explains your problem or not, but there is a development build with a fix if you'd like to try it: https://download-stage.docker.com/mac/bysha1/8d256c2d490c2bc1c32544636d363757c5e2aaa6/Docker.dmg
Note the development build is suitable only for testing and not for production.
@djs55 Apologies for failure to follow up on this.
I just downloaded the latest release of docker which includes your bug fix and I can report that it has had a significant impact on memory usage in the container. We still see some signs of memory leakage but that is likely on our end where we need to improve. Hopefully this will alleviate the issue of Docker hanging.
I will return to completely normal usage and report back if the issue reoccurs. It could simply be that memory limit is reached at a much later stage, which would not be a bad result but like I said that is likely due to leakage and memory management issues on our end if anything.
Thanks for getting this issue sorted and for following through despite my lack of help!
Issues go stale after 90d of inactivity.
Prevent issues from auto-closing with an
If this issue is safe to close now please do so.
Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows.