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

What does docker compose down -v do in addition to down?

Explanation

down stops and removes containers and networks but keeps volumes. -v wipes them too, which is great for a fresh local database and a disaster if run by mistake.

Further reading

Problem with a question

Docker and CI/CD · Junior · question 26

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