What is the difference between docker stop and docker kill ?

Docker kill and stop are two command used to terminate the container execution.
docker kill – Used to forcefully terminate execution of container, which does not attempt to shut down the process gracefully.
docker stop – Used to terminate execution safely and gracefully.

docker kill [OPTIONS] CONTAINER [CONTAINER…]

docker stop [OPTIONS] CONTAINER [CONTAINER…]