Which one should I use? ‘docker kill’ or ‘docker stop’?

Line reference:

docker stop: Stop a running container (send SIGTERM, and then SIGKILL
after grace period) […] The main process inside the container will
receive SIGTERM, and after a grace period, SIGKILL. [emphasis mine]

docker kill: Kill a running container (send SIGKILL, or specified
signal) […] The main process inside the container will be sent
SIGKILL, or any signal specified with option –signal. [emphasis mine]

You can get more info from this post: What’s the difference between docker stop and docker kill?

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)