Interview Prep/Docker/Images, Layers & Storage Drivers

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.

All Docker questions Roadmap: Docker & containers

More on Images, Layers & Storage Drivers