0 votes
in Docker by
What is the purpose of the VOLUME instruction in a Dockerfile?

A) To create a mount point for a host directory to be mounted as a data volume

B) To specify the base image for the Dockerfile

C) To specify the user that should run the container

D) To specify the working directory for the container

1 Answer

0 votes
by
Solution:A

Explanation: The VOLUME instruction in a Dockerfile is used to create a mount point for a host directory to be mounted as a data volume in the container. This allows data to be persisted between container runs and makes it easier to manage data)
...