The new home page is docwhat/docker-registry-garbage-collect on github.
Docker Registery version 1 has one huge glaring problem: It doesn't clean up "dangling" or "orphaned" images.
This happens when you push up "foobar:latest" and it clobbers a previous "foobar:latest". The images that made up the previous versions are now orphaned and left floating in limbo.
For maximum paranoia, the script will not remove images from the last hour. This is in case you're uploading something that hasn't been tagged yet.
Public domain. This stuff is trivial and it is needed.
- The original shell script was done by shepmaster.
- bjaglin created a second version shell script.
- The final shell script, which I ported here, was by kwk.