A

Admin • 828.43K Points
Coach

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: 26
  • Filed under category Docker
  • Hashtags:

Explanation by: Admin
'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.