Interview Prep/Docker/Runtime Stack, OCI & Registries

What is the Distribution Spec flow when pushing an image?

AdvancedConceptRuntime Stack, OCI & Registries
Answer

Client checks blobs with HEAD /v2/<name>/blobs/<digest>; uploads missing blobs with POST then PUT on /blobs/uploads/ (monolithic or chunked); finally PUT /v2/<name>/manifests/<tag> referencing the config and layer digests. Existing blobs are skipped ("Layer already exists"), and cross-repo blob mounts avoid re-upload within a registry.

All Docker questions Roadmap: Docker & containers

More on Runtime Stack, OCI & Registries