-
Notifications
You must be signed in to change notification settings - Fork 880
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
panic in dns resolver: invalid memory address or nil pointer dereference #1117
Comments
@campbellr Are you using multiple external resolvers for containers, either though --dns config or from host's resolv.conf ? Going by the decode, this panic can happen in certain cases with multiple external resolvers. |
@sanimej I do have 2 nameservers listed in my resolv.conf on the host machine, if that's what you mean. |
@campbellr Yes, that is what I meant. From the decode, it looks like this panic can happen in certain sequences with more than one external nameserver configured. As a temporary work around you can try with one nameserver. |
Thanks @sanimej I will try that out. |
Removing the second nameserver from resolv.conf does seem to have resolved the issues. Thanks! |
Weirdly this seems to happen on our server randomly, usually seems to be in the early hours. Theres obviously some cleanup tasks or something that are causing it. The log file doesn't seem to offer anything useful beyond the error as to what is causing it. I'm going to go through all the containers and figure out which ones use --dns options! |
this will be fixed in 1.11.1 through moby/moby#22261 (which was just merged) |
I just upgraded to Docker 1.11.0 and noticed that the docker daemon crashes when I run a suite of tests that do the following:
Each tests is run in parallel.
After a few iterations, I can reliably get the Docker daemon to crash with the following panic:
The text was updated successfully, but these errors were encountered: