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