How is an image made?
A cake is made from a recipe: steps in order, the same cake every time. An image is made from a recipe too: a small text file called a Dockerfile. On the left is the shop’s Dockerfile, six lines, all still faded. We will read them one by one. Lines read counts how far we are; Layers counts layers built so far.
Diagramma
A Dockerfile with six faded lines. No image yet.