Module 02: Working with Images
Overview
In Docker, everything starts with an Image. It is the immutable blueprint from which containers are launched.
In this module, you will go from writing your first Dockerfile to mastering advanced optimization techniques used by top engineering teams. You will learn how to make your images small, secure, and fast.
Module Roadmap
-
Image Layers & UnionFS Deep dive into the storage architecture. Understand how Copy-on-Write (CoW) works and why it impacts performance.
-
Dockerfile Instructions The definitive guide to every instruction. Resolve the
CMDvsENTRYPOINTdebate once and for all. -
Optimized Builds Learn how to leverage the build cache and use
.dockerignoreto speed up your CI/CD pipelines. -
Multi-Stage Builds The secret weapon for tiny images. Compile in one stage, ship only the binary in the next.
-
Container Registries Understand the supply chain. Tag mutability, image digests, and security scanning.
-
Module Review Test your knowledge with flashcards and grab the cheat sheet.
Prerequisites
- Completion of Module 01: Foundations.
- Docker Desktop or CLI installed.
Module Chapters
Image Layers & UnionFS
Image Layers & UnionFS
Start LearningDockerfile Instructions
Dockerfile Instructions
Start LearningOptimized Builds
Optimized Builds
Start LearningMulti-Stage Builds
Multi-Stage Builds
Start LearningContainer Registries
Container Registries
Start LearningModule Review: Working with Images
Module Review: Working with Images
Start Learning