How to build and run Docker images and containers

Build Cratebay, a lab that builds, runs, and inspects containers with Docker, Dockerfile, images, containers.

  • Difficulty Intermediate
  • Parts 10
  • Stack Docker, Dockerfile, images, containers

What you are learning

Cratebay is a lab that builds, runs, and inspects containers. The teaching focus is Docker (Docker, Dockerfile, images, containers).

Work in order. Early parts set vocabulary and environment; later parts assume the earlier checkpoints.

How to use these lessons

Read the goal, open the matching GitHub folder, complete the lab or exercises, then return for the explanation. If a command fails, check you are in the numbered folder first.

Open the Cratebay GitHub repo →

Parts in order

Each chapter below is one checkpoint in this lab.