What it is
An image packages an application and its filesystem dependencies. A container is a running instance with isolation supplied by the host environment. CI validates changes; a delivery pipeline promotes identified artifacts through release checks.
Why you need it
Packaging improves repeatability, but persistence, secrets, compatibility, and recovery still need a plan. The artifact tested in staging should be traceable to the one released.
How it works
- Build an artifact from a known revision and dependency set.
- Run checks against that artifact.
- Inject environment-specific configuration when appropriate.
- Release gradually, observe behavior, and retain a known recovery artifact.
Release evidence to record
source_revision: abc123
artifact_digest: sha256:<immutable digest>
checks: [unit, integration, smoke]
configuration_version: production-12
previous_artifact: sha256:<previous digest>
owner: release-on-callThis is a record format, not a deployable pipeline. Digests identify artifact content; mutable labels such as latest can refer to different content later.
Practice ls -la, chmod, grep | wc, df -h, df -i, du, lsof, and ss -tulnp against five live troubleshooting missions.
Good practices and why
- Keep persistent data outside disposable container filesystems and inject secrets through controlled mechanisms.
- Coordinate application, configuration, and schema compatibility during rollout.
Common mistakes
- Assuming rebuilding the same branch guarantees identical dependencies.
- Assuming replacing an image also reverses a database migration.
Try it yourself
Draw a pipeline for a small API and show where tests, artifact identity, configuration, and rollback evidence are recorded.
What a successful result looks like
The diagram identifies the exact artifact at each stage and explains which state a rollback does not restore.
0 / 6000 characters · Saved on this device. Do not include passwords or private data.
Check your understanding
Answer the understanding check correctly to record exercise completion.
Related interview practice
- Rollback does not roll back the data. ↗
- Rolling deploys drop in-flight requests. ↗
- The tested build is not the deployed build. ↗
These scenarios add constraints and follow-up questions to the concepts you just learned.
Further reading
Selected primary references · reviewed 2026-10-09. Examples are educational; use your framework’s documented integration guidance when building a deployed system.