Docker registry cleanup best practices

Hello Gents,

I am using docker and docker-registry for some time. Currently I am facing a disk space issue on a server, where docker-registry is running. My question is quite simple - are there some ‘best practices’ regarding maintaining docker-registry server? Especially I would like to know which of the images could be safely removed without harming developers work.
I appreciate for any tip or trick how to correctly manage docker registry.
Cheers!

delete the unused tags via the API, then run a clean up script.

We use this: