Docker image je šablona jen pro čtení (zabalená aplikace se svými závislostmi); container je běžící instance image. Vztah je podobný třídě a objektu: jeden image může vytvořit mnoho containerů.
Image vs 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)
