A

Admin • 833.24K Points
Coach

Q. What is the purpose of the VOLUME instruction in a Dockerfile?

  • (A) To create a persistent data volume
  • (B) To mount a host directory into the container
  • (C) To define a network volume
  • (D) To specify a shared volume between containers
  • Correct Answer - Option(A)
  • Views: 38
  • Filed under category Docker
  • Hashtags:

Explanation by: Admin

The VOLUME instruction creates a persistent data volume in the container.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.