Lesson 2 of 6
Images & Containers
Learn the difference between a reusable image and a running container.
Introduction
An image is an immutable template containing application layers and metadata.
A container is a running instance created from an image, with its own isolated process environment.
Key insight
Learn the difference between a reusable image and a running container.
Example
docker run --rm hello-worldRead the example line by line, then try changing one value.
Real-world example
Images & Containers helps developers build useful applications.
Practice challenge
Explain why many containers can be created from one image.