Q. What is the difference between 'docker stop' and 'docker kill'?
β
Correct Answer: (B)
docker stop sends a SIGTERM signal, docker kill sends SIGKILL
Explanation: 'docker stop' sends a SIGTERM signal to gracefully stop a container, while 'docker kill' sends a SIGKILL signal to forcefully stop it.