Helmsman Academy
Docker Professional: zero to expert

Security, troubleshooting and production: hardening, supply chain, incidents, Swarm, CI/CD and Kubernetes

8 lessons · about 144 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

Expert level: securing the daemon and host, hardening containers, secrets and the supply chain, two troubleshooting courses' worth of real scenarios, Swarm with rolling updates and raft backups, CI/CD with GitHub Actions and Harbor, and the move to Kubernetes, interviews and the DCA exam.

Before you start: Courses 54 to 57.

What you'll learn

Lessons

1. Securing the daemon and the host: rootless, userns-remap and the socket

Protect the Docker host: treat the socket as root, run rootless or remap users, secure remote access with TLS or SSH, and check yourself with Docker Bench and the CIS benchmark.

Sign in to open the lesson

2. Container hardening: users, capabilities, seccomp, AppArmor and read-only filesystems

Run containers with least privilege: non-root users, dropped capabilities, the default seccomp profile, AppArmor or SELinux, no-new-privileges, read-only root filesystems, and why --privileged is almost never the answer.

Sign in to open the lesson

3. Secrets and the supply chain: scanning, SBOMs, signing and policy

Keep secrets out of images and environment variables, scan images for vulnerabilities with Docker Scout and Trivy, sign and verify images, and enforce policy in CI.

Sign in to open the lesson

4. Troubleshooting scenarios I: exits, crash loops, disk full and a daemon that won't start

Diagnose the failures you'll meet most: containers that exit immediately, crash loops, exit codes 1/126/127/137/139/143, 'no space left on device', and dockerd failing to start.

Sign in to open the lesson

5. Troubleshooting scenarios II: performance, slow builds, DNS and stuck containers

Diagnose slow containers (CPU throttling, memory pressure, I/O), slow or failing builds, intermittent DNS, containers that won't stop, and processes you need to trace inside a namespace.

Sign in to open the lesson

6. Docker Swarm: services, stacks, rolling updates and raft backups

Run containers across several hosts with Swarm mode: managers and workers, services and replicas, overlay networks, secrets and configs, rolling updates with rollback, and backing up the raft state.

Sign in to open the lesson

7. Docker in CI/CD: GitHub Actions, registries and Harbor

Build, test, scan, sign and push images from CI with buildx and cache, run integration tests with Compose, choose and operate a registry such as Harbor, and deploy by digest.

Sign in to open the lesson

8. From Docker to Kubernetes, and being job-ready

Map Docker concepts to Kubernetes, convert a Compose app to manifests, understand containerd and CRI, and prepare for Docker interviews, take-home tasks and the DCA exam.

Sign in to open the lesson

Common questions

Does userns-remap break volumes?

Existing volume files are owned by host UIDs that no longer match; chown them to the remapped range or start fresh.

Does a read-only root break most apps?

Apps that write only to /tmp and volumes work; give them tmpfs for scratch space.

Docker Scout or Trivy?

Both are solid; Scout integrates with Docker Hub and Desktop, Trivy is open source and widely used in CI. Pick one and act on it.

Is truncating a json log safe?

As an emergency step, yes; then add rotation so it never recurs.

Can I attach a debugger to a containerised process?

Yes, from the host with nsenter or a sidecar sharing the PID namespace (--pid container:name) and the right capabilities (SYS_PTRACE).

Is Swarm dead?

No; it's maintained and in the DCA exam, but Kubernetes dominates new platforms and job adverts.

GitLab or Jenkins instead of GitHub Actions?

The stages are the same; use buildx with registry cache and the platform's OIDC support.

Should I learn Swarm or Kubernetes?

Learn Swarm's basics for the DCA and small teams; invest most of your orchestration time in Kubernetes for the job market.