What is a base image and what does `FROM` do at build time?
BeginnerConceptImages, Layers & Storage Drivers
Answer
FROM pulls (or reuses) the specified image and uses its layers and config as the starting point; every later instruction adds on top. Every Dockerfile must start with FROM (only ARG can precede it). Multi-stage files have several FROMs, each beginning a new stage.
More on Images, Layers & Storage Drivers
What is a Docker image made of?BeginnerWhat is a layer and when is one created?BeginnerWhat is a union filesystem / OverlayFS?IntermediateWhat is copy-on-write (CoW) in containers?IntermediateWhy does deleting a file in a later `RUN` not shrink the image?IntermediateWhat storage drivers does Docker support and which is default?Intermediate