Skip to content

Portal | Level: L0: Entry | Topics: Docker / Containers | Domain: Kubernetes

Track: Containers

Docker fundamentals, image building, runtime security. Bridge between Linux and Kubernetes.

Goals

  • Understand container isolation (namespaces, cgroups, layers)
  • Write production Dockerfiles (multi-stage, non-root, healthcheck)
  • Debug container issues (logs, exec, inspect)
  • Scan images for vulnerabilities
  • Understand image registries and pull policies

Prerequisites

  • Concepts: linux, bash_scripting
  • Docker installed locally

Primary Path (12 steps)

  1. Read: training/library/skillchecks/docker.skillcheck.md — mental model (namespaces, cgroups, layers)
  2. Practice: training/interactive/exercises/levels/level-01/docker-from/ — FROM instruction
  3. Practice: training/interactive/exercises/levels/level-02/docker-run/ through level-05 (RUN, COPY, WORKDIR, CMD)
  4. Practice: training/interactive/exercises/levels/level-06/docker-expose/ through level-10 (EXPOSE, ENV, ENTRYPOINT, ARG, LABEL)
  5. Study: Dockerfile — real multi-stage production Dockerfile
  6. Practice: training/interactive/exercises/levels/level-11/docker-layer-cache/ — layer caching optimization
  7. Practice: training/interactive/exercises/levels/level-12/docker-multistage/ — multi-stage builds
  8. Read: devops/docs/security-scanning.md — Trivy scanning
  9. Lab: training/interactive/runtime-labs/lab-runtime-06-trivy-fail-to-green/ — fix vulnerable image
  10. Practice: training/interactive/exercises/levels/level-16/docker-user/ — non-root containers
  11. Practice: training/interactive/exercises/levels/level-17/docker-healthcheck/ — container healthchecks
  12. Assess: training/library/skillchecks/docker.skillcheck.md — verify understanding

Optional Deepening


Wiki Navigation

Next Steps