Closed xuewenG closed 1 year ago
目前的脚本没有让 nginx 作为 1 号进程运行,nginx 无法收到 docker stop 发出的 SIGTERM 信号。关闭容器时,需要等待 10 秒左右,容器才能被强制关闭。修改后,容器可以在发出 docker stop 命令后立即退出。
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Thanks!
目前的脚本没有让 nginx 作为 1 号进程运行,nginx 无法收到 docker stop 发出的 SIGTERM 信号。关闭容器时,需要等待 10 秒左右,容器才能被强制关闭。修改后,容器可以在发出 docker stop 命令后立即退出。