Question · NestJS course · Module 12: Containers and CI/CD

Review: docker compose down -v command

What does the -v flag do in 'docker compose down -v'?

Answer options

  • Enables verbose mode (detailed logs)
  • Runs validation of the docker-compose.yml file
  • Displays the Docker Compose version
  • Removes volumes along with their data

You can check the correct answer by solving this task in the CodeWorlds game.