Line reference:
after grace period) […] The main process inside the container will receive SIGTERM, and after a grace period, SIGKILL. [emphasis mine]
docker stop
: Stop a running container (send SIGTERM, and then SIGKILLsignal) […] The main process inside the container will be sent SIGKILL, or any signal specified with option –signal. [emphasis mine]
docker kill
: Kill a running container (send SIGKILL, or specified
您可以从这篇文章中获得更多信息:https://superuser.com/questions/756999/whats-the-difference-between-docker-stop-and-docker-kill
精彩评论