Μια εικόνα Docker image είναι ένα πρότυπο μόνο για ανάγνωση template (μια συσκευασμένη εφαρμογή με τις εξαρτήσεις της)· ένα container είναι μια τρέχουσα παρουσία μιας εικόνας. Η σχέση είναι όπως μια κλάση και ένα αντικείμενο: μια εικόνα μπορεί να δημιουργήσει πολλά containers.
Εικόνα έναντι 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)
