Q2. What is the differenece between docker stop and docker kill?

docker stop – The main process inside the container will receive SIGTERM, and after a grace period, SIGKILL

docker kill – The main process inside the container is sent SIGKILL signal (default)