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

Docker Stop – allows the docker contianer to terminate the process gracefully. This will also internally call KILL method if the STOP methods didnot respond with in limited time period

Docker Kill – will terminate the docker container abruptly.It will leads to Forcible exist.