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?

    • lemmyng@lemmy.ca
      link
      fedilink
      English
      arrow-up
      7
      ·
      25 days ago

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

    • magikmw@lemm.ee
      link
      fedilink
      English
      arrow-up
      4
      ·
      25 days ago

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

  • ogarcia@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    ·
    25 days ago

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

    • fluckx@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      25 days ago

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

      • ogarcia@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        23 days ago

        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.

  • kolorafa@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    25 days ago

    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.

  • beerclue@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    1
    ·
    25 days ago

    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.

  • johntash@eviltoast.org
    link
    fedilink
    English
    arrow-up
    3
    ·
    24 days ago

    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.