A Container Image Has a Supply Chain
Packaging an application also packages the history of its dependencies.

Layers carry inherited choices
A container image can include a base operating environment, libraries, tools and application code. Those components may come from different maintainers and release cycles. The final image therefore inherits more than the files its immediate author wrote. A small application can depend on a large chain of software. Understanding that chain helps teams reason about updates, vulnerabilities and reproducibility. The package’s convenient portability should not hide the origins and maintenance status of the components it contains. The runtime artifact should have a documented relationship to the source and build inputs.
Build only what the runtime needs
A production image may not need every compiler, test fixture or temporary file used during development. Separating build stages can reduce unnecessary contents and make the runtime artifact easier to inspect. This is not a guarantee of security, but it narrows the amount of software that must be maintained. A carefully selected base image and explicit dependencies also improve clarity. The useful question is whether each included component has a reason to be present in the environment that will serve users.
Rebuilds are part of ownership
An image that was acceptable when created can become outdated as vulnerabilities are discovered and upstream fixes appear. Rebuilding, testing and deploying updates are ongoing responsibilities. Pinning inputs can improve reproducibility while also requiring a deliberate process for adopting new versions. Teams need both stability and renewal, not one at the expense of the other. A trustworthy container workflow preserves provenance, limits unnecessary contents and makes updates routine. The image is a maintained software artifact, not a finished object whose neat packaging ends the security conversation.
Sources & further reading
Docker: Build best practices ↗
AI-assisted editorial explainer. Sources are provided for verification.
Continue reading
The Small Switch Behind the Digital World ↗
Why Silicon Became a Computing Material ↗