未遵守 Docker 容器的优雅关闭
作者: yandodov创建于 2023年12月15日更新于 2025年12月14日
标签not-stale
As I posted on Stack Overflow:
My project uses nodemon inside Docker. It runs perfectly, but when I stop the process from my terminal with Ctrl+C, the container doesn't get turned off immediately. Instead, I have to wait for exactly 10 seconds before Docker finally kills it.
内容来源: remy/nodemon