stop container if process exits
emilburzo opened this issue · comments
I recently had the rtl_433
process exit in the container, but the container did not stop:
Auto Level: Estimated noise level is -41.9 dB, adjusting minimum detection level to -38.9 dB
Input: Async read stalled, exiting!
66de7a967b34 ghcr.io/hertzg/rtl_433_docker:debian-latest-master "/usr/local/bin/rtl_…" 2 months ago Up 3 weeks rtl_433
Would it be possible to set it up so that the container also stops when the process exits?
As there is a high chance a simple restart will fix the issue
There's no intermediate process that could stay hanging, if the process was actually killed/exited then the container would exit as rtl_433
process is defined as the ENTRYPOINT
.
https://github.com/hertzg/rtl_433_docker/blob/master/images/alpine/build-context/Dockerfile#L36
Closing as can't repo