• HelloRoot@lemy.lol
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    4 hours ago

    For your personal use, you don’t need an enterprise setting. It’s just a simple compose file that you run.

    You can host a registry in pull through mode, so you still have all the images you use locally, but if it’s not in your registry yet, it pulls it from docker hub or whatever.

    The only pain point is that a single registry can’t do both. So if you want to push your own docker images AND have a “cache” of stuff from docker hub, you need to run two registries in two different modes.

    • arcayne@lemmy.today
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 hours ago

      Pretty sure you could run Pulp in pull-through mode and add your local Forgejo/whatever registry as a remote, which would at least give you a unified “pull” URL. Then just use Forgejo actions to handle the actual build/publish for your local images whenever you push to main (or tag a release, or whatever).

      Pulp might actually be able to handle both on its own, I haven’t ever tried though.