I’d like to host my own container images centrally in my network so that I can both cache the images (if dockerhub or similar goes down) but also host my own images that I don’t want public. Anyone doing this?
zot is the newer kid on the block, and a single binary single config file sort of affair.
Does docker, pypi, apt, ansible galaxy, etc. I use it at work as part of our undercloud for OpenStack. It’s the go-to for StackHPC, too.
Gittea and Forgejo both have self hosted container registries.
If you don’t need fancy gui and authentication, registry is easy to set up and works really well: https://hub.docker.com/_/registry
Does registry still have that problem of making it practically impossible to do garbage collection on old images?
We are using https://goharbor.io/
Try goharbor.io, that’s what I use. I think (but I’m not sure) that Forgejo/Gitea and Gitlab can also cache images.
Can confirm, gitlab has a container registry built in, at least in the omnibus package installation.
Forgejo supports a ton of repos including docker / OCI images.
Apart from the registries you have in GitLab and GitHub if you are looking for something more generic like Docker Hub you have Quay (from RedHat). It works very well and has a pretty nice interface (especially the new one that is in testing).
I looked into that at one point, but 15$/month is quite steep just for that ( imo )
I moved to quay.io years ago and have never looked back.
You can use (self hosted) gitlab as a registry storage. We do that locally so we have both code, pipeline and containers in the same place.
We’re using a self hosted Nexus instance at work. You probably don’t need all the features it offers, but it does its job really well. For free, too.