This discussion of signals and processes has the following suggestions:
- Use the exec/JSON array form of
execin shell entrypoints.
- Don’t pipe your application’s output.
- Avoid being PID 1.
- Listen for
STOPSIGNALin your Dockerfile.
Do these suggestions apply to our balenalib based containers?