Explain OCI image layout: manifest, config, layers.
IntermediateScenarioRuntimes: containerd, OCI, rootless and Podman
Answer
Situation read → Know the data model.
What I'd do → Manifest lists config digest and ordered layer digests with media types; the config JSON holds env, entrypoint, rootfs diff_ids and history; each layer is a compressed tar of filesystem changes (with whiteout files for deletes). An index (manifest list) points to per-platform manifests.
skopeo copy docker://alpine:3.20 oci:/tmp/alpine:3.20
cat /tmp/alpine/index.json | jq
Why → Content addressing gives deduplication and integrity.
Interview tip → Layer digest (compressed) differs from diff_id (uncompressed).
More on Runtimes: containerd, OCI, rootless and Podman
Explain the path from `docker run` to a running process.IntermediateKubernetes removed dockershim. What does that mean for your Docker-built images?BeginnerRun rootless Docker for developers on a shared Linux box.IntermediatePodman vs Docker: when would you pick Podman?IntermediateRun a Podman container as a systemd service.IntermediateWhat is the OCI and which specs does it define?Beginner