hardStudy question · answer published in Docker interview questions, so no pointslinuxsignalscontainers
Container takes 10 seconds to stop
docker stop always waits the full grace period and then kills your container. The app runs as PID 1 via a shell script and has no SIGTERM handler. Why does SIGTERM not stop it?
Discussion 0
Join free to post in the discussion.
Related questions
- Reading logs of a systemd serviceSite Reliability Engineer
- Who is using port 8080?Site Reliability Engineer
- A process vanished overnightSite Reliability Engineer
- Hard link after deleting the originalSite Reliability Engineer
- The t at the end of /tmpSite Reliability Engineer
- Mode of a new file with umask 022Site Reliability Engineer
- Hiding error messages of a commandSite Reliability Engineer
- Process state Z in psSite Reliability Engineer