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

docker stop command stops the container ie, changes status from RUNNING to EXITED. The client can restart the docker container if they want.

docker kill command kills the docker container. The image can be removed from the docker after kill.