BM: Baca dalam Bahasa Melayu
World D0: Start Here
It works on my machine
You will learn: why an app that works on your laptop breaks on another, and how containers fix it.
Checked with Docker Engine 29 on 31 Oct 2026
The problem
Your shop app runs fine on your laptop. Mei runs the same code. It crashes! You say: “But it works on my machine!” Why did it break?
Pick one answer.
Watch
Every kitchen is different. One stove is gas, one is electric. One has no sambal. The same recipe tastes different. Git copies your code. What does it leave behind?
Drag a card into a box. Or tap the card, then tap the box.
Watch
Your laptop~
- No open hatches
Lunchboxes (containers)
- No containers yet
Frozen packs (images)
- alpine:3.221 layers · 12.9MB
- nginx:1.30-alpine8 layers · 93.5MB
0 containers (0 running), 2 images, 0 lockers.
Pack the dish with everything it needs in a sealed lunchbox. That is a container: A sealed lunchbox that holds your app and everything it needs.. docker run opens a fresh lunchbox and starts the app inside.
Try it
What goes into the lunchbox? Swipe right to pack it. Swipe left to leave it out.
Swipe right for good, left for needs work. Or use the buttons.
The app code
Predict
Mei installs Docker. She runs your lunchbox on her laptop. What happens?
Pick one answer.
Check
A container fixes the kitchen, not the recipe. Which problems does it fix?
Drag a card into a box. Or tap the card, then tap the box.
You did it!
You can now explain why containers exist.
Go deeper (optional)
Containers help whole teams. A new teammate gets the app running in minutes. The server runs the same box you tested.
Real rep (optional): ask a friend to type node --version. Compare it with yours. Different? Now you know why containers exist.
Bahasa Melayu
Aplikasi kedai anda jalan lancar di laptop anda. Mei jalankan kod yang sama. Ia crash! Anda kata: “Tapi di komputer saya jalan!” Kenapa ia rosak?
Setiap dapur berbeza. Satu dapur gas, satu dapur elektrik. Satu lagi tiada sambal. Resepi sama, rasa lain. Git salin kod anda. Apa yang Git tinggalkan?
Bungkus hidangan dengan semua keperluannya dalam bekas bertutup. Itulah container (bekas bertutup). docker run buka bekas baru dan mulakan aplikasi di dalamnya.
Apa yang masuk dalam bekas? Leret ke kanan untuk bungkus. Leret ke kiri untuk tinggalkan.
Mei pasang Docker. Dia jalankan bekas anda di laptopnya. Apa jadi?
Container baiki dapur, bukan resepi. Masalah mana yang ia selesaikan?
Kini anda boleh terangkan kenapa container wujud.
You finished this before. Practice is always welcome!
Official docs: What is a container? · Docker overview
You've learned for 25 minutes. A short break helps your brain.
Sprint done! Great focus. Stretch for a minute?