πŸ“Š Docker
Q. What is the purpose of the 'docker-compose build' command?
  • (A) To start containers defined in a docker-compose.yml file
  • (B) To build Docker images defined in a docker-compose.yml file
  • (C) To push images to Docker Hub
  • (D) To stop running containers
πŸ’¬ Discuss
βœ… Correct Answer: (B) To build Docker images defined in a docker-compose.yml file

Explanation: The 'docker-compose build' command builds Docker images as defined in the 'docker-compose.yml' file.

Explanation by: Ram Sharma
The 'docker-compose build' command builds Docker images as defined in the 'docker-compose.yml' file.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
108
Total Visits
πŸ“½οΈ
12 mo ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
83%
Success Rate