Beginner Docker & Containers
Q4 / 100

What is the purpose of a Dockerfile?

Correct! Well done.

Incorrect.

The correct answer is B) A text file containing a series of instructions used to automatically build a Docker image

B

Correct Answer

A text file containing a series of instructions used to automatically build a Docker image

Explanation

A Dockerfile defines step-by-step instructions (FROM, RUN, COPY, CMD, etc.) that Docker executes to produce an image.

Progress
4/100