Check if manifest exists Run in API Explorer
Use this endpoint to verify whether a manifest exists by tag or digest.
This is a lightweight operation that returns only headers (no body). It is useful for:
- Checking for the existence of a specific image version
- Determining the digest or size of a manifest before downloading or deleting
This endpoint requires authentication with pull scope.
HEAD
/v2/{name}/manifests/{reference}
cURL
# HEAD /v2/{name}/manifests/{reference}
curl -I \
-H "Authorization: Bearer $TOKEN" \
-H "Accept: application/vnd.docker.distribution.manifest.v2+json" \
https://registry-1.docker.io/v2/library/ubuntu/manifests/latest
curl \
--request HEAD 'https://registry-1.docker.io/v2/library/ubuntu/manifests/latest' \
--header "Authorization: string" \
--header "Accept: application/vnd.docker.distribution.manifest.v2+json"