R

Ranjeet • 34.60K Points
Instructor I

Q. What is the purpose of the 'docker-compose down' command?

  • (A) To stop and remove containers, networks, and volumes defined in a docker-compose.yml file
  • (B) To build Docker images
  • (C) To push images to Docker Hub
  • (D) To list running containers

Explanation by: Ranjeet
The 'docker-compose down' command stops and removes containers, networks, and volumes defined in the 'docker-compose.yml' file.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.