Registry API manifests and blobs
The distribution API is an HTTP interface used by clients to locate and transfer image content. A manifest describes an image using descriptors; blobs are content objects such as configuration and layers. An index can describe manifests for multiple platforms.
Worked example
Use this worksheet offline. Names and values are fictional; no live registry, credentials, Docker daemon or external requests are needed. Commands are illustrations, not observed results. Before separately authorized verification, identify the effective Docker endpoint, client credential configuration, builder and registry destination as applicable. Never disclose credential files or private context details.
Offline HTTP request shapes (no network)GET /v2/GET /v2/team/demo/manifests/1GET /v2/team/demo/blobs/sha256:<digest>Illustrative responses: 200 success; 401 authentication required; 404 not foundThe version endpoint can indicate support for the v2 API. A manifest request uses a tag or digest as its reference, and the Accept header should describe supported media types. A blob request uses its content digest. An authenticated client may need to follow a registry challenge and obtain a scoped token. A 401 can be part of a normal authentication flow; a 404 needs context and does not prove a repository never existed. Validate status, media type, returned bytes and applicable digests, not just HTTP success. This is a static protocol worksheet, not an actual client or authorization simulator. Never send real tokens or query unfamiliar endpoints as practice. For digest-addressed content, independently compute the digest over returned bytes and compare with the trusted expected digest. A successful response for a tag resolves it only at request time. Authorization failure does not prove absence.
Common mistake
Do not confuse the Docker Engine API with the registry distribution API: one manages engine objects, the other distributes image content.
Manual practice
Match each request shape with its purpose. Explain what evidence would be needed to distinguish a missing image from an authentication problem.
Worksheet: lab-fixtures/docker-registries-and-delivery/06-registry-api/scenario.txt.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
Registry API manifests and blobs — Knowledge check
Reason about image distribution and safe delivery.
Which reference identifies a blob?
What is a possible meaning of 401?
What should be checked besides HTTP success?