R

Ram Sharma • 193.84K 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

Explanation by: Ram Sharma
The VOLUME instruction creates a persistent data volume in the container.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.