Difference between `docker stop` and `docker kill`
docker stop
Stop a running container by sending SIGTERM and then SIGKILL after a grace period
The main process inside the container will receive
docker kill
Kill a running container using SIGKILL or a specified signal
The main process inside the container will be sent
See also
SIGTERM vs. SIGKILL
Stop a running container by sending SIGTERM and then SIGKILL after a grace period
The main process inside the container will receive
SIGTERM, and after a grace period, SIGKILL.docker kill
Kill a running container using SIGKILL or a specified signal
The main process inside the container will be sent
SIGKILL, or any signal specified with option --signal.See also
SIGTERM vs. SIGKILL
Comments
Post a Comment