Looking for a dockerhub alternative
from Procedure8295@lemmy.sdf.org to selfhosted@lemmy.world on 11 Oct 08:00
https://lemmy.sdf.org/post/23561361

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?

#selfhosted

threaded - newest

DasFaultier@sh.itjust.works on 11 Oct 08:09 next collapse

Try goharbor.io, that’s what I use. I think (but I’m not sure) that Forgejo/Gitea and Gitlab can also cache images.

magikmw@lemm.ee on 11 Oct 08:39 collapse

Can confirm, gitlab has a container registry built in, at least in the omnibus package installation.

infeeeee@lemm.ee on 11 Oct 08:18 next collapse

If you don’t need fancy gui and authentication, registry is easy to set up and works really well: hub.docker.com/_/registry

lemmyng@lemmy.ca on 11 Oct 10:40 collapse

Does registry still have that problem of making it practically impossible to do garbage collection on old images?

beerclue@lemmy.world on 11 Oct 08:23 next collapse

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.

kolorafa@lemmy.world on 11 Oct 10:21 next collapse

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.

ogarcia@lemmy.world on 11 Oct 11:17 next collapse

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).

philthi@lemmy.world on 11 Oct 11:48 next collapse

I moved to quay.io years ago and have never looked back.

fluckx@lemmy.world on 11 Oct 15:07 collapse

I looked into that at one point, but 15$/month is quite steep just for that ( imo )

ogarcia@lemmy.world on 13 Oct 09:19 collapse

Well, if you want private images it is normal that they charge you for it. What I advise you to do is to make the images public and mount the private part as a volume. This way you can upload the images wherever you want without worrying.

Another option if you want the resulting image to have something private is to create as much as you can in a public image and have a script that adds the private part as the last layer.

seang96@spgrn.com on 11 Oct 12:02 next collapse

Forgejo supports a ton of repos including docker / OCI images.

femtech@midwest.social on 11 Oct 13:00 next collapse

We are using goharbor.io

zelifcam@lemmy.world on 11 Oct 14:44 next collapse

Gittea and Forgejo both have self hosted container registries.

arcayne@lemmy.today on 12 Oct 03:39 next collapse

pulpproject.org

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.

borax451@lemmy.world on 12 Oct 07:24 next collapse

zot is the newer kid on the block, and a single binary single config file sort of affair.

zotregistry.dev

johntash@eviltoast.org on 12 Oct 21:07 collapse

I use the Nexus free version. You can cache docker registries and other repos like apt/yum/pypi/etc.

It works pretty well, but could be overkill compared to some of the other options.