docker-registry-manager icon indicating copy to clipboard operation
docker-registry-manager copied to clipboard

Deleting repositories

Open UnAfraid opened this issue 6 years ago • 2 comments

Hello,

I've started using your registry manager and i love it, i am just missing the option to delete a repository, removing tags works fine for me, but now i end up having empty repositories and i would like to get rid of them as well.

I can take care of the back-end but i am struggling with front-end a lot :D

UnAfraid avatar Mar 05 '18 19:03 UnAfraid

Hi,

After looking into this further I expect you just need to run garbage collection on your registry to delete the repositories that have no tags. I'm going to add a delete repository button with a note mentioning this as well. The registry doesn't really "delete" anything via the API until you run garbage collection. There is a proposal to run garbage collection via the API, but as of now I haven't seen any updates on that front.

See: https://github.com/docker/docker.github.io/blob/master/registry/garbage-collection.md

snagles avatar Mar 12 '18 13:03 snagles

HI @UnAfraid , If you're still interested in the issue, I have provided a solution that works here : https://github.com/snagles/docker-registry-manager/issues/181 Just arrow-base mention me in case you're in need of more explanations

Jean-Baptiste-Lasselle avatar May 30 '19 19:05 Jean-Baptiste-Lasselle