V

Vinay • 28.75K Points
Instructor II

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

  • (A) To mount external files into containers
  • (B) To specify environment variables
  • (C) To define services
  • (D) To scale the services
  • Correct Answer - Option(A)
  • Views: 29
  • Filed under category Docker

Explanation by: Vinay
'Volumes' are used in Docker Compose to mount external files or directories into containers.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.


Question analytics