docker-registry-manager
docker-registry-manager copied to clipboard
Deleting repositories
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
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
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