[Dnsmasq-discuss] dnsmasq in docker container

Dimitry Andric dimitry at unified-streaming.com
Sun Aug 25 10:21:27 UTC 2024


On 25 Aug 2024, at 11:07, Danil Smirnov <danil.smirnov at gmail.com> wrote:
> 
> There is some evidence on the Internet that dnsmasq doesn't play well with Docker (when run in a Docker container), i.e.:
> 
> https://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2021q4/015909.html
> https://www.reddit.com/r/homelab/comments/1d7w3l9/struggling_to_diagnose_irregular_hangs_with/
> https://github.com/dockur/dnsmasq/issues/7
> 
> I have also faced the same issue - after some hours/days, dnsmasq becomes irresponsive and can't be fixed by e.g. docker kill --signal=SIGHUP, but only by the container restart. Memory consumption didn't grow and no errors/warnings were found in the logs.
> 
> Are there any suspects we can consider and start checking how to fix?

Has anybody ever attached a debugger to such a hanging instance? Or at the least run an strace on it?

Because without more information it is very unlikely that the root cause will be found.

-Dimitry




More information about the Dnsmasq-discuss mailing list