Beginner Docker & Containers
Q7 / 100

What is the FROM instruction in a Dockerfile used for?

Correct! Well done.

Incorrect.

The correct answer is B) To specify the base image upon which the new image will be built

B

Correct Answer

To specify the base image upon which the new image will be built

Explanation

FROM defines the starting point/base image for subsequent instructions, such as "FROM ubuntu:22.04" or "FROM node:20-alpine".

Progress
7/100