Complete blob upload Run in API Explorer
Complete the upload of a blob by finalizing an upload session.
This request must include the digest
query parameter and optionally the last chunk of data. When the registry receives this request, it verifies the digest and stores the blob.
This endpoint supports:
- Monolithic uploads (upload entire blob in this request)
- Finalizing chunked uploads (last chunk plus
digest
)
PUT
/v2/{name}/blobs/uploads/{uuid}
cURL
# PUT – complete upload (monolithic or final chunk)
curl -X PUT \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/octet-stream" \
--data-binary @layer.tar.gz \
"https://registry-1.docker.io/v2/library/ubuntu/blobs/uploads/abc123?digest=sha256:abcd1234..."
curl \
--request PUT 'https://registry-1.docker.io/v2/library/ubuntu/blobs/uploads/abc123?digest=sha256%3Aabcd1234...' \
--header "Content-Type: application/octet-stream" \
--header "Authorization: Bearer eyJhbGciOi..." \
--data-binary '<binary data not shown>'
Request example
<binary data not shown>