Course 3 of 8 on the DevOps Engineer path

Docker and containers

Build, run, network and secure containers: images and layers, Dockerfiles and multi-stage builds, volumes, Docker Compose, container networking, non-root and minimal images, scanning and secrets.

  • 9 lessons
  • About 95 min reading
  • Beginner to intermediate
  • Updated 13 Nov 2026

After this course you can

  • Explain what a container is and how it differs from a virtual machine
  • Run, inspect, stop and clean up containers, and understand their lifecycle and signals
  • Write efficient Dockerfiles: caching, multi-stage builds, .dockerignore
  • Persist data with volumes and bind mounts
  • Define multi-container applications with Docker Compose
  • Understand bridge, host and user-defined networks, port publishing and container DNS
  • Run containers as non-root on small base images, scan them and handle secrets safely

Before you start: the Linux for DevOps and Networking for DevOps courses (processes, signals, permissions, ports and DNS).

Lessons

Know it, or think you know it?

Take a free mock interview on Docker and containers for DevOps Engineer: 3 questions, a score and feedback on each, in about 10 minutes.