learning general entrance › Docker 8 hours

Docker 8-Hour Interactive Crash Course

For senior cloud engineers · Basics → Production readiness → Cloud (Azure/AWS) → Automated operations → Application architecture → In-depth troubleshooting → Production questions and interviews (optional) · 8 lessons × 1 hour
Docker Engine 29.9.3Compose v5.xBuildKit / BakeAzure Container Apps · ACRAmazon ECS · ECRVerification date 2026-11-14/15
learning route: ← Git 8 hours ① Core Basics→ ② Production ready→ ③ Cloud (Azure)→ ④ Cloud (AWS)→ ⑤ Image CI & release→ ⑥ Application Architecture→ ⑦ In-depth troubleshooting→ ⑧ Production questions and interview (optional)→ Kubernetes 8 hours

8 lessons

Hour 1Core Basicsarchitecture call chain (CLI→dockerd→containerd→runc), image layering, container life cycle, Dockerfile and BuildKit, network, storage, Compose, Registry and ACRPrerequisite: Linux basics · Experiment: Azure Ubuntu VM
Hour 2From "able to run" to "able to production"ENTRYPOINT/CMD and signals, Dockerfile advancement, multi-stage build, resource limitation and health check, Compose advancement, tag strategy and CI, security hardeningPrerequisite: hour 1 · Lab: myapp Production Readiness Review
Hour 3goes to cloud platform (Azure)Cloud container service selection, ACR advancement, deployment to Container Apps, Key Vault confidentiality, revision and grayscale, cloud troubleshooting, transition to KubernetesPrerequisite: Hours 1–2 · Azure Subscription
Hour 4goes to cloud platform (AWS)AWS Container service selection, ECR advancement, deployment to ECS on Fargate + ALB, Secrets Manager and ElastiCache, rolling/blue-green and circuit breaker rollback, CloudWatch troubleshooting, transition to EKSPrerequisite: Hours 1–2 · AWS account (optional or both with hour 3)
Hour 5Image CI, Supply Chain and ReleaseRelease landscape, buildx caching and multi-platform builds, platform-neutral image CI with OIDC, tags and digest promotion, SBOMs and scanning, cosign / Notation signing, release and rollback on ACA and ECSPrerequisites: ACR / ECR and Container Apps / ECS from Hours 3–4 · a GitHub repository
Hour 6Production Applications and Architecture Design12-Factor and ADRs, three-tier web, gateway and HTTPS, async queues and scheduled jobs, database migrations, object storage, high availability and DR, architecture reviewSample project: orders (one-click script)
Hour 7In-depth debugging, optimization and advanced themesdebugging methodology, tcpdump/strace/py-spy, performance and cost, build scale, advanced network and storage, Dev Containers and GPU, fault blind boxsample project: orders upgraded version
Hour 8 · Optional50 production problems + 50 interview questionsA Part: The 50 most common production failures in build, runtime, network, storage/log/warehouse (phenomenon, error reporting, root cause, diagnosis, repair, prevention); Part B: 50 Docker interview questions (reference answers, follow-up questions, extra points, common wrong answers) and mock interviewsPrerequisite: First 7 hours (or equivalent Docker experience) The progress bar on the

The card shows your learning progress for each lesson, saved in this browser. Progress is not displayed if the browser blocks local storage.

Full outline and time allocation (7 × 1-hour + optional 8th hour)

Lesson/Moduletimetheme
Hour 1 · Core Basics (Open)
1-0before classenvironment preparation: az vm create + official apt source installation Docker Engine
1-100–06Docker architecture: CLI→dockerd→containerd→shim→runc, namespaces/cgroups v2
1-206–12image: OCI, digest, overlayfs copy-on-write, containerd image storage
1-312–19container: life cycle, PID 1 and signals, exit codes, resource limits
1-419–28Dockerfile and BuildKit: cache, multi-stage, cache/secret mount
1-528–36network: bridge, built-in DNS, DNAT, DOCKER-USER
1-636–42storage: volume/bind/tmpfs, backup and recovery
1-742–50Compose: healthcheck dependency, profiles, watch, scale
1-850–60Registry, ACR (3 hour token, managed identity, ABAC), troubleshooting decision tree
Hour 2 · From "can run" to "can go into production" (Open)
2-0before classconnection and warm-up: rebuild myapp, 12 production readiness self-assessments
2-100–07ENTRYPOINT/CMD combination rules, entry script exec "$@", STOPSIGNAL, stop timeout alignment
2-207–14Dockerfile advanced: ARG/ENV scope, secret/ssh mount, heredoc, COPY --chmod/--link, build checks
2-314–23multi-stage build practice: Go + distroless, test stage, cross-compilation, debugging without shell image
2-423–31resource limit (cgroup v2), HEALTHCHECK (start-interval), events, log driver, Engine indicators
2-531–39Compose advanced: variable priority, override merge, !reset/!override, include, profiles, secrets
2-639–47tag strategy, Bake, multi-architecture, GitHub Actions, SBOM/provenance, fixed action by SHA
2-747–54security hardening: runtime parameters, Rootless/userns-remap, offline scanning, Trivy supply chain events
2-854–60production readiness review checklist, review.sh, 6 failure drills, mapping to Kubernetes
Hour 3 · Going to the cloud platform (Azure) (Open)
3-0before classWarming up with Azure preparation: Registering providers, ~/hour3.env variables
3-100–05Cloud container service selection (VM/ACI/ACA/AKS/App Service) and ACA architecture
3-205–13ACR Advanced: az acr build, tag lock, acr purge, import, Artifact Cache
3-313–24deployed to Container Apps: User assigned managed identity + AcrPull, ingress, probe
3-424–32configuration and secrets: secretref, Key Vault reference and rotation, Azure Managed Redis
3-532–40revision mode, tag URL, 10% grayscale, second-level rollback, HTTP scaling and stress testing
3-640–50practical troubleshooting: four types of local faults + six types of faults on the cloud (system logs, KQL)
3-750–57transition to Kubernetes: kind deployment, rolling update/rollback, AKS --attach-acr
3-857–60cost, cleanup and self-test
Hour 4 · Going to the Cloud Platform (AWS) (Open)
4-0before classWarm-up and AWS preparation: AWS CLI v2, IAM Identity Center configuration file, ~/hour4-aws.env variable
4-100–05AWS Cloud container service selection (EC2 / ECS on Fargate / ECS on EC2 / EKS / Lambda container image) and ECS architecture
4-205–13ECR Advanced: immutable tags, scanning, life cycle policy, pull through cache, cross-region replication
4-313–24deployed to ECS on Fargate: task definition, execution role and task role, awsvpc, ALB target group and health check
4-424–32configuration, secrets and cache: Secrets Manager / SSM Parameter Store, ElastiCache (Valkey)
4-532–40release strategy, rollback and scaling: rolling update, deployment circuit breaker, ECS blue-green deployment, target tracking scaling
4-640–50Cloud troubleshooting practice: stoppedReason, CloudWatch Logs Insights, ECS Exec
4-750–57transition to Kubernetes: EKS, pull from ECR, Compose → K8s mapping
4-857–60cost, cleanup and self-test
Hour 5 · Image CI, Supply Chain and Release (Open)
5-0Pre-classSetup: both registries and the repo (reuses Hours 3–4 resources)
5-100–06From manual releases to pipelines: the image release landscape
5-206–14BuildKit and buildx: caching, multi-platform, Bake
5-314–22Platform-neutral image CI: Bake + Makefile + OIDC
5-422–29Tags, versions and promotion
5-529–37SBOM, provenance and vulnerability scanning
5-637–43Signing and verification: cosign and Notation
5-743–51Release and rollback: ACA traffic splitting vs ECS blue/green
5-851–60Five-hour summary, self-test and cleanup
Hour 6 · Production Applications and Architecture Design (Open)
6-0before classGenerate the orders sample project and pull images
6-100–05Architecture method: 12-Factor, reference architecture, ADRs, one image with several process types
6-205–13① Three-tier web: connection pools and budgets, cache-aside and degradation, liveness/readiness probes, idempotency keys
6-313–20② Gateway and HTTPS: TLS, 429 rate limiting, 413, request IDs; ACA ingress / Front Door
6-420–28③ Async and scheduled jobs: RabbitMQ, retries, dead letters, idempotent consumers; Service Bus + KEDA + ACA Jobs
6-528–35④ Database migrations and releases: migration jobs, advisory locks, expand/contract, restore drills, PITR
6-635–42⑤ File uploads and object storage: Azurite, read-only SAS, user delegation SAS
6-742–51⑥ High availability and DR: zone redundancy, multi-region, ACR geo-replication / ECR replication, database HA, RTO/RPO
6-851–60Architecture review and incident drills: failure-mode analysis, review scorer, 7 drills
Hour 7 · In-depth troubleshooting, optimization and advanced topics (Open)
7-0before classUpgrade orders, install diagnostic tools, enable fault-injection endpoints, record a baseline
7-100–05Troubleshooting method and toolbox: evidence first, six layers, USE/RED
7-205–13Process and syscall-level debugging: nsenter, netshoot, docker debug, tcpdump, strace, py-spy
7-313–21Connections and timeout chains: pool exhaustion, 502/504 and timeout layers, private DNS, SNAT
7-421–29Performance and cost: CFS throttling, PSI, gunicorn tuning, k6 P95/P99, cold starts, cost model
7-529–36Build at scale: builder drivers, remote builders, buildx history, reproducible builds, Bake matrix
7-636–43Advanced networking and storage: macvlan/ipvlan, IPv6 dual stack, nftables backend, storage performance, MTU
7-743–50Developer experience + GPU/AI: Dev Containers, Testcontainers, NVIDIA Container Toolkit, CDI
7-850–60Fault blind box + seven-hour summary: 8 random faults, in-browser simulator, knowledge map
8th hour (optional) · 50 production problems + 50 interview questions (Open)
8-0before classInstructions for use: How to use the question bank to troubleshoot and how to use interview questions to self-test
8-100–08A · Production Issues 1–12: Builds and Images
8-208–16A · Production Issue 13–25: Container Runtimes and Resources
8-316–24A · Production Issues 26–38: Networks, Ports, and DNS
8-424–30A · Production Issues 39–50: Storage, Logging, Daemons, and Mirror Repositories
8-530–37B · Interview questions 1–13: Basic concepts and architecture
8-637–44B · Interview questions 14–25: Mirroring and Dockerfile
8-744–52B · Interview questions 26–38: Networking, storage and Compose
8-852–60B · Interview questions 39–50: Safety, production practices and orchestration

Lesson format

principle · Diagram · Animation · Command · Experiment · Production case · Troubleshooting · Test · Chinese voice · Video. Each lesson ends with a command cheat sheet, comprehensive lab, final quiz, and source and version notes.

Additional resources

Animation and narration: Animations use inline SVG and JavaScript and work offline. Narration uses the browser’s built-in Web Speech API with Chinese (zh-CN) voices.
cloud resource fee:Resources will be created in Azure in hours 3 and 5–7, and resources will be created in AWS in hour 4. There are cleanup commands at the end of each lesson. Remember to execute them after learning.