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.
More on Runtime Stack, OCI & Registries
What is the architecture of Docker Engine?IntermediateWhat is the OCI and what specs does it define?IntermediateWhat does `runc` do?IntermediateWhat is containerd and how does it relate to Docker and Kubernetes?IntermediateWhat are `ctr`, `crictl` and `nerdctl`?IntermediateWhat is CRI-O?Intermediate