Accoring to my tests catching and ignoring the error when Docker daemon restarts works - so docker loghose continues to receive logs after the restart Docker daemon (> Docker v1.11).
Initially I've tried to emit the error via the "result" object, to make DLH users aware about the disconnect, e.g. to reconnect. But this did lead to a stack overflow. So this solution is "silent", but works for the scenario in issue https://github.com/mcollina/docker-loghose/issues/15
Accoring to my tests catching and ignoring the error when Docker daemon restarts works - so docker loghose continues to receive logs after the restart Docker daemon (> Docker v1.11).
Initially I've tried to emit the error via the "result" object, to make DLH users aware about the disconnect, e.g. to reconnect. But this did lead to a stack overflow. So this solution is "silent", but works for the scenario in issue https://github.com/mcollina/docker-loghose/issues/15
Demo: http://recordit.co/GuRtxVw48t