Interview practice question
Application killed abruptly on every deploy
Cloud & DevOps · Docker · Intermediate
Every time you deploy, in-flight requests fail, and docker stop takes the full 10 seconds before the container dies. What is going on?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- SIGTERM not reaching or handled by app.
- Shell form CMD / script without exec.
- Add signal handling: stop accepting, finish requests.
- Exec form, exec in entrypoint, tini.
- Adjust stop timeout.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.