PRACTICE / UNDERSTAND / REPEAT

Docker: Dockerfiles

Practice dockerfiles with self-contained questions. Check your answer, then use the explanation to understand the reasoning.

32 questionsAnswers explainedFree · no login
Question 1 of 32
Dockerfiles · MCQQuestion link ↗

Which Dockerfile instruction selects the base image?

Choose one answer
Answer & explanation

Answer: FROM

`FROM` begins a build stage and names its base image.