Skip to content

Docker — From Zero to Hero

A standalone, beginner→advanced course on Docker. Learn through real Dockerfiles, commands, and Compose files with expected output — and a one-click "Try in Play with Docker" for hands-on practice in your browser.

Intro & Concepts

Containers vs VMs, images vs containers, the Docker architecture, install & first run. Start →

Images & the Dockerfile

FROM/COPY/RUN/CMD/ENTRYPOINT, building, tagging, layers & cache. Build →

Running Containers

run/ps/exec/logs, ports & env, restart policies, inspect. Run →

Data & Volumes

Named volumes vs bind mounts, persistence, backup & restore. Persist →

Networking

Bridge networks, container DNS, publishing ports, custom networks. Connect →

Docker Compose

compose.yaml, multi-service apps, env/volumes/networks, up/down. Compose →

Optimization & Best Practices

Multi-stage builds, cache ordering, small & non-root images, HEALTHCHECK. Optimize →

Registry, CI & Deploy

Docker Hub, tag/push/pull, GitHub Actions, deploy basics. Ship it →

Real commands & files

Every lesson shows the actual Dockerfiles, CLI commands, and Compose files — with the output you should expect.

Hands-on in the browser

A one-click “Try in Play with Docker” button copies the snippet and opens a free, real Docker environment.

Quizzes & progress

Check your understanding after each lesson; your progress is saved locally.

Bilingual

Available in English and ไทย — switch anytime from the top bar.