The process in the container exits gracefully
Original link: http://ponder.work/2022/07/10/gracefully-shutdown-container/ When using docker, we often encounter the problem of resource cleanup when the process exits, such as ensuring that the current request processing is completed, and then exiting the program. When executing docker stop xxx , docker will send a SIGTERM signal to the main process (pid=1) if the process does not […]
The process in the container exits gracefully Read More »