LRLearning RoadmapRead, build, evaluate
Labs

Lab: Docker Mini Lab

Lab: Docker Mini Lab Goal Containerize a tiny API. Tasks Create a minimal API endpoint. Add health endpoint. Write Dockerfile. Build image. Run container locally. Pass configuratio

labs/docker-mini-lab.md1 min read

Lab: Docker Mini Lab

Goal

Containerize a tiny API.

Tasks

  • Create a minimal API endpoint.
  • Add health endpoint.
  • Write Dockerfile.
  • Build image.
  • Run container locally.
  • Pass configuration through environment variables.

Failure Case

  • Break the health endpoint and observe the result.

Output

  • Dockerfile.
  • Run commands.
  • Notes on image size and configuration.