P

Priyanka Tomar • 35.28K Points
Coach

Q. What is the purpose of the 'build' section in a Docker Compose file?

  • (A) To define how a service is built
  • (B) To specify service dependencies
  • (C) To set up networking
  • (D) To configure environment variables
  • Correct Answer - Option(A)
  • Views: 39
  • Filed under category Docker

Explanation by: Priyanka Tomar
The 'build' section in a Docker Compose file specifies how a service should be built from a Dockerfile.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.


Question analytics