← Quiz: Docker and Containers: all 10 questions
Quiz: Docker and Containers · Question 10 of 10
What does docker compose down -v do that docker compose down does not?
What does docker compose down -v do that docker compose down does not?
- A.Rebuilds the images
- B.Also deletes the named volumes, removing the database data
- C.Starts the services again
- D.Pushes images to the registry
Answer & explanation
Correct answer: Also deletes the named volumes, removing the database data
Without -v the data volume is kept; with -v it is deleted.
Can you get the rest right without peeking?
Take the timed Quiz: Docker and Containers quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →