Containers

What instruction exists in every Containerfile/Dockefile and what does it do?

Difficulty: unrated

Source: bregman-arie/devops-exercises by Arie Bregman

Answer

In every Containerfile/Dockerfile, you can find the instruction FROM which is also the first instruction (at least most of the time. You can put ARG before).

It specifies the base layer of the image to be used. Every other instruction is a layer on top of that base image.