Q. What is the purpose of a Dockerfile?
β
Correct Answer: (A)
To define the runtime environment for a container
Explanation: A Dockerfile is a text document that contains instructions to build a Docker image, defining the runtime environment for a container.