PrepOps
Search
Topics
Difficulty
My Progress
Containers
How docker image build works?
Difficulty: unrated
Source:
bregman-arie/devops-exercises
by
Arie Bregman
Answer
Docker spins up a temporary container
Runs a single instruction in the temporary container
Stores the result as a new image layer
Remove the temporary container
Repeat for every instruction