Remix.run Logo
▲ Show HN: Self-hosted Docker image registry. One container, two simple accounts(github.com)
23 points by dellarb 4 hours ago | 15 comments

I wanted somewhere to push my own Docker images and pull them from my other hosts. The registries I tried were either bare cli and complex config file driven or full fruit complex permission based systems.

Registreasy sits in the middle. Set two passwords in Docker Compose: one for the account that pushes images and one for the read-only account your other hosts use to pull them. You can also allow pulls without a password if that suits your setup.

▲modinfo 2 hours ago | parent | next [-]

I like your project, simple docker image and we have working Docker registry, Thank you for you hard work! I also build my own registry for npm packages and cargo crates: https://github.com/skorotkiewicz/registry

▲aaronbrethorst 4 hours ago | parent | prev | next [-]

You might say that you're keeping it <puts on sunglasses, pretends to be Ted Danson in The Good Place> Registreezy.

In all seriousness, though, this is cool. I've wanted something exactly like this for a while and I'm going to go poke at it.

▲Shadowmist 2 hours ago | parent [-]

Oh, we’re in the bad place.

▲Helmut10001 3 hours ago | parent | prev | next [-]

I use Gitlab CE locally, which also comes with a Container Registry. However, even tuned down via parameters, a minimal Gitlab consumes at least 2-3 GB of memory these days, so having something more lightweight is really good. I transitioned all my CI&CD jobs to my internal network, behind VPN, and it makes maintaining and deploying websites really effortless and efficient, without the security implications of running Gitlab in the open.

▲philipp-gayret 10 minutes ago | parent | next [-]

Having hosted Gitlab for a large org, I can reveal Gitlab is mostly open source projects glued together with a Gitlab sticker on it. At the time I hosted it, the container registry was Harbor, from https://goharbor.io . I wouldn't call it lightweight personally, as it consists of 10+ of these applications.

▲roygbiv2 18 minutes ago | parent | prev | next [-]

I'm very surprised at the amount of resources gitlab uses, I'll admit I haven't done any tuning on it though.

▲duskwuff 2 hours ago | parent | prev [-]

Forgejo and Gitea can also host OCI registries, and are much lighter to run than Gitlab.

▲q2dg an hour ago | parent | prev | next [-]

Having to run it via Docker Compose is a no-go for me: I use Podman

▲xx_ns 14 minutes ago | parent | next [-]

I don't see any indication that it requires compose. The (fairly simple) compose file seems to be provided for ease of use but nothing is seemingly stopping you from running it with podman.

▲justsomehnguy 12 minutes ago | parent [-]

Compose there is only to build the image from the Dockerfile. Guess GP is too opinionated.

▲seedie 9 minutes ago | parent | prev | next [-]

Is there a reason why `podman compose` doesn't work? Are there functional differences?

▲justsomehnguy 13 minutes ago | parent | prev [-]

Then don't run it with Docker Compose.

https://docs.podman.io/en/latest/markdown/podman-compose.1.h...

▲linsomniac 2 hours ago | parent | prev | next [-]

This looks nice.

Another option is Zot: https://zotregistry.dev/v2.1.23/

We've been running it for ~4 months and it's worked great; it's a single executable and they give you a systemd unit file to kick it off.

▲vmt-man 9 minutes ago | parent [-]

Thanks, it's a more interesting project than the one OP posted. Golang is faster and more memory-efficient.

▲import 2 hours ago | parent | prev [-]

Very curious what makes this one different than zot and oci registry.