Docker image คือ แม่แบบ แบบอ่านอย่างเดียว (read-only) (แอปพลิเคชันที่ถูกแพ็กรวมกับ dependency ของมัน) ส่วน container คือ อินสแตนซ์ที่กำลังรันอยู่ ของ image ความสัมพันธ์นี้เปรียบเหมือน class กับ object: หนึ่ง image สามารถสร้าง container ได้หลายตัว
image เทียบกับ container
IMAGE → a read-only TEMPLATE: the app + dependencies + config, built in layers
(like a blueprint/class; stored, shared, versioned)
CONTAINER → a RUNNING INSTANCE of an image (with a writable layer on top)
(like an object created from a class; has runtime state)
One IMAGE → many CONTAINERS (run the same image multiple times)
