Skip to main content
DevOpsLabTH.dev

Docker

Package an app once, run it anywhere. Build images that don't double in size every Friday.

Hands-on labsbeginner22 labs
Start course
Recommended first

You can still start this course now. Earlier courses give you the mental model the labs here assume.

By the end you'll be able to
  • Build images that don't ship your .env file
  • Debug a running container without rebuilding
  • Compose multi-service stacks locally
  • Read a Dockerfile and predict what it'll produce

Modules

Work through the labs in order. Each module builds one operating habit.

  1. 01
    Container vs virtual machine
    Form a mental model of how a container differs from a virtual machine so the rest of the Docker labs make sense.
    10 min
    Start
  2. 02
    Image vs container
    Pull a small image, start two containers from it, and see one image produce many running instances.
    12 min
    Start
  3. 03
    Image layers and copy-on-write
    Look inside an image to see the layer stack, then write a file in a running container to see copy-on-write at work.
    12 min
    Start