Running private docker registy

I have been running a local, private docker registry for a few months.

The problem that I have is that every couple of months I have to wipe it out, because it won’t let me create any more images. I create a new image every night, and git it it’s own tag. Can anyone give me some help on managing the registry.

Things I need help with:

  • Removing containers that are at least n-weeks, or days, old from the registry.
  • Expand the storage space so that I can keep more containers.