Problem Statement
What is the benefit of using image layering in Docker?
Explanation
Docker builds images in layers; when you rebuild, unchanged layers can be reused from cache. This leads to faster builds and smaller incremental changes. Knowing this helps optimize Dockerfile design.
Practice Sets
This question appears in the following practice sets:
