You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 16, 2023. It is now read-only.
When docker wants to stop a container its sends a SIGTERM command to the root process in the container. If the container does not exit within 10 seconds it will send a SIGKILL to the container's kernel.
Right now the program can catch Control+c, or SIGINT. This is the "polite" way to stop a program, but won't cut it for docker. I'd like to have the bot exit cleanly.
So far the closest I've gotten is this SO post and this source code file, but I can't get it to compile nor can I effectively debug it.
The text was updated successfully, but these errors were encountered:
When docker wants to stop a container its sends a SIGTERM command to the root process in the container. If the container does not exit within 10 seconds it will send a SIGKILL to the container's kernel.
Right now the program can catch Control+c, or SIGINT. This is the "polite" way to stop a program, but won't cut it for docker. I'd like to have the bot exit cleanly.
So far the closest I've gotten is this SO post and this source code file, but I can't get it to compile nor can I effectively debug it.
The text was updated successfully, but these errors were encountered: