Docker and CI/CD · Junior · Question 28 of 75

What does docker stop do?

Explanation

The app gets a chance to finish requests and close connections. If PID 1 ignores SIGTERM, every stop takes the full timeout and ends in a hard kill.

Further reading

Problem with a question

Docker and CI/CD · Junior · question 28

Test yourself

Take the Docker and CI/CD · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz