docker-archive / docker-registry

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

Deleting images does not work, wrong digest #1068

Closed EugenMayer closed 8 years ago

EugenMayer commented 8 years ago

Finally go teached about storage->delete->true in the configuration https://github.com/docker/distribution/blob/master/docs/configuration.md

and implemented it. Still, while fetching the digest https://github.com/EugenMayer/docker_registry_cli/blob/master/DockerRegistryRequest.rb#L92 getting a string like sha256:XXXX

Using this to feed into delete https://github.com/EugenMayer/docker_registry_cli/blob/master/DockerRegistryRequest.rb#L83 i get notfied, that the digest is wrong.

Using the current latest registry:2 (sha256:20f5d95004b71fe14dbe7468eff33f18ee7fa52502423c5d107d4fb0abb05c1d).

Is this a bug / fixed already?

EugenMayer commented 8 years ago

i am not alone here, seems its a general issue https://github.com/docker/docker-registry/issues/988#issuecomment-210190903

EugenMayer commented 8 years ago

dupe, using https://github.com/docker/distribution/issues/1637