Docker and Containers
From what a container actually is through Dockerfiles, networking, Compose, and cleanup — the day-to-day Docker skills that get real work done.
dockerdevopsinfrastructurebeginner
44decks
44main cards
136practice cards
20%with images
v1.0.0version
Card type mix
- multiple choice: 70
- select blank: 48
- true false: 46
- code fill: 11
- order: 4
- multi select: 1
What's covered
- What a Container Actually Is
- Containers vs. Virtual Machines
- Solving "It Works on My Machine"
- Installing Docker
- Images vs. Containers
- Running Your First Container
- docker run Pulls Images Automatically
- Stopping a Running Container
- Removing a Container
- A Container's Lifecycle
- Pulling Images From Docker Hub
- Image Layers and Caching
- Writing Your First Dockerfile
- The FROM Instruction
- The COPY Instruction
- The RUN Instruction
- The CMD Instruction
- Building an Image
- Multi-Stage Builds
- Tagging and Versioning Images
- The 'latest' Tag Isn't Special
- Mapping Ports
- Environment Variables in Containers
- Bind Mounts
- Volumes
- Container Networking Basics
- Getting a Shell Inside a Running Container
- Reading Container Logs
- Inspecting a Container
- Setting Resource Limits
- Restart Policies
- Why You Need Docker Compose
- Writing a docker-compose.yml
- Networking Between Compose Services
- Compose Volumes and Config
- Keeping Images Small
- Using .dockerignore
- Avoiding Baked-In Secrets
- Run as a Non-Root User
- Use Trusted Base Images
- Docker Hub and Private Registries
- Pushing and Pulling From a Registry
- Cleaning Up Unused Docker Resources
- Why You'd Eventually Need an Orchestrator
Example cards
multiple choice
What does a container package together?
multiple choice
What does a container share with the host?
Latest: Initial release — 44 decks, 224 cards, each pack with a preview card teaching the concept before its graded main card and practice cards.