PRACTICE / UNDERSTAND / REPEAT

Docker practice question

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

1 questionAnswers explainedFree · no login

Try this question

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.