Helmsman Academy
Containers and Docker, basic to advanced

Docker in practice: Compose, registries and CI/CD

6 lessons · about 81 minutes of reading · Helmsman Pro

This page is the public course outline. Lessons, labs, tools and exams open after you sign in to your free account.

Sign in and start

In short

Docker the way teams use it: multi-service apps with Compose, registries and their limits, configuration and secrets, logs and troubleshooting, image builds in CI/CD with SBOMs and provenance, and multi-platform images.

Before you start: Docker fundamentals.

What you'll learn

Lessons

1. Docker Compose for multi-service apps

compose.yaml services, networks and volumes, healthchecks with depends_on, profiles, environment files and Compose Watch.

Sign in to open the lesson

2. Registries: Docker Hub, ACR and GHCR

Logging in, tagging and pushing, pull limits, private registries, pull-through caches and connecting ACR to AKS.

Sign in to open the lesson

3. Configuration and secrets

Twelve-factor configuration, environment files, why environment variables leak, build secrets and runtime secret files.

Sign in to open the lesson

4. Logs, monitoring and troubleshooting

Logging drivers and rotation, stats and events, inspecting failures, and a method for debugging containers that won't start or won't respond.

Sign in to open the lesson

5. Docker in CI/CD

Building, testing, tagging, scanning, attesting and pushing images from GitHub Actions or Azure DevOps.

Sign in to open the lesson

6. Multi-platform images and docker init

Building for amd64 and arm64 with buildx, emulation versus native builders, and scaffolding projects with docker init.

Sign in to open the lesson

Common questions

Is the version: field required?

No; it's obsolete under the Compose Specification.

What role must AKS's kubelet identity have on ACR?

AcrPull.

Name two places an ENV value can be read without running the container.

docker image inspect and docker history.

Which driver rotates logs by default?

local.

Why avoid mounting docker.sock in shared CI runners?

It gives jobs root on the runner host.

Which build args hold the target platform?

TARGETOS, TARGETARCH (and TARGETPLATFORM).