What is the purpose of a Dockerfile?
A) To define a Docker image
B) To define a Docker container
C) To manage Docker volumes
D) To manage Docker networks
Solution:A
Explanation: A Dockerfile is used to define a Docker image. It provides a set of instructions for building the image, such as what base image to use, what packages to install, and what files to copy into the image.