0

How can I delete an image from my private Docker Registry?

I see no info in the official Docker Docs.

KaMZaTa
  • 535
  • 2
  • 9
  • 24

1 Answers1

-1

click here for the previous answers on stackoverFlow

for more details you can read the docs : https://docs.docker.com/registry/spec/api/#listing-repositories

bero
  • 21
  • 6
  • I'd already seen those answers but any solutions worked for me. Is there any simply and straight forward command like `curl` or something else in order to delete the image? – KaMZaTa Oct 04 '22 at 18:01
  • I tried something like `curl -X DELETE --user myuser:mypass https://example.com/v2/test-image/manifests/de264515e7925f0ad309487066ca945dfacf54aafd9c997bf01b5c8c28ba5bc9 {"errors":[{"code":"UNSUPPORTED","message":"The operation is unsupported."}]}` – KaMZaTa Oct 04 '22 at 18:03