1. 11
  1.  

  2. 3

    Just be careful about the images stored on your registry. There’s no easy way to clean them.

    1. 4
      1. 3

        In the past I had issues with my $job’s registry having a LOT of manifests and unreferenced blobs not cleaning. For example, if someone removed all tags of an image, then the blobs would stay forever. I’ve just checked and it seems that it has been fixed in late 2019: https://github.com/docker/distribution/pull/2302

        1. 1

          If garbage collection is not working, you can download and reupload all images that you care for (or have tags). That was my solution to this.

        2. 1

          Tumblr released a tool that can help clean up unneeded images based on rules: https://github.com/tumblr/docker-registry-pruner

        3. 1

          we’re using harbor (https://goharbor.io/) at work and are fairly satisfied.

          1. 1

            Not sure if I’m missing something but this doesn’t make sense to me:

            It’s not open source but it is Apache licensed so anyone can run it for any purpose.

            I thought the Docker registry was open source?

            1. 1

              TIL!