How to send a signal to a Docker container without affecting restart policy?
This is a known Docker bug.
See https://github.com/moby/moby/issues/11065 "Non-fatal signals break restart policies"
See https://github.com/moby/moby/issues/41302 "Signal breaks unless-stopped restart policy"
Bypass the problem by doing docker exec "kill -HUP 1"
.