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

What does --restart unless-stopped do?

Explanation

Restart policies (no, on-failure, always, unless-stopped) let Docker bring services back on a single host. Orchestrators handle this in clusters.

Further reading

Problem with a question

Docker and CI/CD · Junior · question 37

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