š¦
Images vs Containers
The blueprint vs the running instance
Step 1 of 3
What is an Image?
An image is a read-only template with instructions for creating a container. Think of it like a class in OOP or a recipe. Images are built in layers ā each Dockerfile command creates a new layer.
bash
docker pull nginx:latestApplication codetop layer
Dependencies
Config files
OS packages
Base OS layerbase layer