Intermediate Docker & Containers
Q49 / 100

What is the purpose of "docker-compose down -v"?

Correct! Well done.

Incorrect.

The correct answer is B) Stops and removes containers, networks, and also removes named volumes declared in the "volumes" section of the compose file

B

Correct Answer

Stops and removes containers, networks, and also removes named volumes declared in the "volumes" section of the compose file

Explanation

"docker-compose down" stops and removes containers and networks; adding "-v" additionally removes named volumes, which can permanently delete persisted data.

Progress
49/100