42 / 55 · 19 Linux & Command Line · Docker Basics for QA← prev⊞ allnext →☰ Read as one page
6.2Core Concepts
| Concept | What It Is | Analogy |
|---|---|---|
| Image | A blueprint for a container (read-only) | A class definition |
| Container | A running instance of an image | An object instantiated from a class |
| Dockerfile | Instructions to build an image | A recipe |
| Volume | Persistent storage that survives container removal | An external hard drive |
| Network | Virtual network connecting containers | A local network switch |
| Registry | A repository for images (Docker Hub, ECR, GCR) | npm registry for packages |