docker-archive / docker-registry

This is **DEPRECATED**! Please go to https://github.com/docker/distribution
Apache License 2.0
2.88k stars 876 forks source link

Delete image, manifest unknown #1109

Closed ajouve closed 6 years ago

ajouve commented 6 years ago

Hi I am trying to delete some images using the API, but I have the following error:

{ errors: [ { code: 'MANIFEST_UNKNOWN', message: 'manifest unknown' } ] }

First I am sending a request to get v2/<repoName>/manifests/<tagName>, then I am getting Docker-Content-Digest from the headers and I send a request to delete v2/<repoName>/blobs/<layerDigests>

Let me know if someone have the same issue, I allowed the delete in the configuration