V

Vijay Sangwan • 28.62K Points
Instructor II

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

  • (A) To increase the number of replicas for a service
  • (B) To resize Docker images
  • (C) To resize Docker volumes
  • (D) To resize Docker networks
  • Correct Answer - Option(A)
  • Views: 17
  • Filed under category Docker

Explanation by: Vijay Sangwan
The 'docker-compose scale' command is used to increase or decrease the number of replicas for a service defined in the 'docker-compose.yml' file.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.


Question analytics