Helmsman Academy
Docker Professional: zero to expert

Docker foundations: how containers work, installing everywhere, the CLI and images

6 lessons · about 96 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

What a container really is (namespaces and cgroups), installing Docker Engine properly on Ubuntu, Debian and RHEL, Docker Desktop with WSL 2 and macOS (and its licence), rootless mode, running and debugging containers, the CLI with formats, filters and contexts, and images, tags, digests and registries.

Before you start: A Linux command line (the Foundations track or equivalent). No Docker experience needed.

What you'll learn

Lessons

1. Containers explained: namespaces, cgroups and images

What a container really is on Linux, how it differs from a virtual machine, and what Docker adds on top of the kernel: images, a runtime and a workflow.

Sign in to open the lesson

2. Installing Docker Engine on Linux the right way

Install Docker Engine from Docker's own repositories on Ubuntu, Debian and RHEL-family servers, verify it, run it at boot, and choose between the docker group and rootless mode.

Sign in to open the lesson

3. Docker Desktop, WSL 2 and macOS: developer machines that behave

Set up Docker Desktop on Windows with WSL 2 and on macOS, understand its licence, its VM and file-sharing performance, and know the alternatives such as Colima and Podman.

Sign in to open the lesson

4. Running containers: lifecycle, ports, restart policies and debugging basics

Run, stop, restart and remove containers with confidence; publish ports; choose restart policies; and use logs, exec and inspect to see what's happening.

Sign in to open the lesson

5. The Docker CLI like a professional: formats, filters, contexts and cleanup

Use --format and --filter to answer questions fast, manage remote engines with contexts, and keep hosts clean with docker system df and prune.

Sign in to open the lesson

6. Images and registries: tags, digests, Docker Hub and private registries

Pull, tag and push images; know why digests beat tags in production; handle Docker Hub's rate limits; and log in to private registries safely.

Sign in to open the lesson

Common questions

Is Docker the only way to run OCI images?

No. containerd, CRI-O and Podman run the same images; Kubernetes uses containerd or CRI-O directly.

Does removing docker.io delete my volumes?

No. Package removal leaves /var/lib/docker in place; you delete it only on purpose.

Is Podman a drop-in replacement?

For most docker run and build commands, yes; Compose and Swarm-specific features differ.

Why does my container exit immediately?

Its main process finished. A container lives as long as PID 1; run a foreground process, not a daemon.

Can I see what a prune would delete?

Not with a dry-run flag; list first with the same filters (docker ps -a --filter ..., docker images --filter ...).

Is latest the newest version?

Only if the publisher says so; it's just the default tag name.