How to delete images from private docker registry

Hello, I followed this awesome guide https://www.linode.com/docs/kubernetes/how-to-setup-a-private-docker-registry-with-lke-and-object-storage/
But now if I want to delete this images that I pushed to this private docker registry, how do I do it.
Also this images are stored in object storage.
Is there some way to do it

2 Replies

Deleting a private Docker image can't be done from the Registry API, so you'll need to use a different method. There are some workarounds that may be helpful. This StackOverflow post details how to use tags to delete a private image. You can also use a curl command to delete the image, as referenced in this GitHub gist. If you're using a private v2 registry, this program might work for deleting the image.

Thanks I look into it

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct