πŸ“Š Docker
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
πŸ’¬ Discuss
βœ… Correct Answer: (A) To create a persistent data volume

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

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

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
178
Total Visits
πŸ“½οΈ
12 mo ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
89%
Success Rate