Docker images and containers
A Docker image is a packaged, read-only template used to create containers. It generally includes the application, runtime dependencies, selected operating-system components and instructions describing how the application starts. A container is a runnable instance created from an image. These concepts are related but not interchangeable. One image can produce multiple containers. Those containers may use different runtime configuration, networks, storage mounts or resource limits. For example, a Node.js API image could be deployed as separate application instances behind a reverse proxy. Each instance runs the same packaged application but has its own process lifecycle.
Images do not ordinarily include the production database, live credentials or transaction history. Such information should remain outside the replaceable application artifact.


