← All courses

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

What's covered

  1. What a Container Actually Is
  2. Containers vs. Virtual Machines
  3. Solving "It Works on My Machine"
  4. Installing Docker
  5. Images vs. Containers
  6. Running Your First Container
  7. docker run Pulls Images Automatically
  8. Stopping a Running Container
  9. Removing a Container
  10. A Container's Lifecycle
  11. Pulling Images From Docker Hub
  12. Image Layers and Caching
  13. Writing Your First Dockerfile
  14. The FROM Instruction
  15. The COPY Instruction
  16. The RUN Instruction
  17. The CMD Instruction
  18. Building an Image
  19. Multi-Stage Builds
  20. Tagging and Versioning Images
  21. The 'latest' Tag Isn't Special
  22. Mapping Ports
  23. Environment Variables in Containers
  24. Bind Mounts
  25. Volumes
  26. Container Networking Basics
  27. Getting a Shell Inside a Running Container
  28. Reading Container Logs
  29. Inspecting a Container
  30. Setting Resource Limits
  31. Restart Policies
  32. Why You Need Docker Compose
  33. Writing a docker-compose.yml
  34. Networking Between Compose Services
  35. Compose Volumes and Config
  36. Keeping Images Small
  37. Using .dockerignore
  38. Avoiding Baked-In Secrets
  39. Run as a Non-Root User
  40. Use Trusted Base Images
  41. Docker Hub and Private Registries
  42. Pushing and Pulling From a Registry
  43. Cleaning Up Unused Docker Resources
  44. Why You'd Eventually Need an Orchestrator

Example cards

multiple choice

What does a container package together?

  • App, deps
  • Just app
  • Whole OS
multiple choice

What does a container share with the host?

  • OS kernel
  • IP address
  • Password

Latest: Initial release — 44 decks, 224 cards, each pack with a preview card teaching the concept before its graded main card and practice cards.