Problem Statement
What is a Docker image compared to a container?
Explanation
A Docker image is a read-only template that includes application code, libraries and runtime dependencies. A container is a live, running instance created from that image, with its own writable layer. Understanding this helps you differentiate build time (image) vs runtime (container).
Practice Sets
This question appears in the following practice sets:
