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
Get Yaaddi on Google Play Free. Install the app, then add this course from its Course Library.
View this course's repo on GitHub → — star it, open an issue, or suggest a fix.
45decks
45main cards
145practice cards
0%with images
v1.1.6version
Card type mix
- multiple choice: 113
- true false: 63
- select blank: 47
- code fill: 11
- order: 4
- match pairs: 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
- Recap: Key Terms
Example cards
multiple choice
What does a container package together?
multiple choice
What does a container share with the host?
Latest: Haiku review fixes: corrected factual errors and cards that did not match what their lesson teaches.