If docker stop always takes about 10 seconds, the app never reacted to SIGTERM, and…
This is a dev post classified by AGK Intelligence as Hosting & infra (a tutorial), kept by the Dev Radar because it carries real work, not commentary.
If docker stop always takes about 10 seconds, the app never reacted to SIGTERM, and Docker killed it when the grace period ran out. There are two usual reasons. With shell form, or an entrypoint script without exec, PID 1 can be the shell, and the shell doesn't pass the signal on. The other is easy to miss. Even with the app as PID 1, Linux gives PID 1 no default action for SIGTERM, so an app without a handler just ignores it. So the fix has two parts. Use exec form, or end the script with exec "$@", so the app is PID 1. Then handle SIGTERM in the app. If you can't change the app, docker ru
Posted by Prateek Jain (4.8k followers) 9 days ago · 3 likes · 75 views · view the original post on X. Kept by the Dev Radar as Hosting & infra.
More dev work like this
- Most Azure OpenAI projects don’t fail because of the model. — @AiswaryaVenkit1
- Building cloud-native systems on Azure? Learn how to transform a single function into a… — @Apress
- Optimizing DeepSeek-V4.1-Flash PD & Colocate Serving on H20-3e — @lmsysorg
- Baseten is now available on Microsoft Foundry! — @baseten
- GLM-5.3 coding agents on an @NVIDIA GB200 NVL72 fleet on Crusoe Cloud: a 0.29 s median… — @CrusoeAI
- Your agents need shared files—not another folder stuck on your laptop. — @DanKornas
- 75% of cloud native developers use AI coding tools, compared to 55% of their peers. Even… — @CloudNativeFdn
- Nvidia just introduced the DGX Spark HPC Developer Kit at SC26. It links four DGX Spark… — @CyberMikeOG
Every post is read and classified by AGK Intelligence: what it is, which market it belongs to, and whether the link is a real tool. 13.4k posts from 5k X accounts over the last 21 days, 10.1k tools, 12 markets. New posts are collected several times an hour and the full ranking is recomputed every hour — last update 2026-11-25 18:41 UTC. Full method.