Obraz Dockera (image) to szablon tylko do odczytu (spakowana aplikacja z jej zależnościami); kontener to uruchomiona instancja obrazu. Relacja jest jak klasa i obiekt: jeden obraz może utworzyć wiele kontenerów.
Obraz vs kontener
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)
