V

Vikash Gupta • 33.56K Points
Instructor I

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

  • (A) To build Docker images
  • (B) To start containers defined in a docker-compose.yml file
  • (C) To stop all running containers
  • (D) To push images to Docker Hub
  • Correct Answer - Option(B)
  • Views: 14
  • Filed under category Docker

Explanation by: Vikash Gupta
The 'docker-compose up' command starts and runs the containers defined in the 'docker-compose.yml' file.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.


Question analytics