Show HN: Self-hosted Docker image registry. One container, two simple accounts g...
HN Best 200 @best
Show HN: Self-hosted Docker image registry. One container, two simple accounts github.com · 14 points · 6 comments · HN thread
TL;DR Registreasy is a self-hosted Docker image registry packaged as a single container, built on the CNCF Distribution registry behind Nginx. It provides two fixed accounts, a push account that can publish and delete tags and an optional read-only pull account, plus a web inventory page. The author's aim was a middle ground between bare-bones registries configured by files and heavyweight permission-based systems.
- Runs as one container with one port and one data folder (./data), so backup means copying that folder along with the Compose file and credentials.
- Two accounts only: a push account (pull, publish, delete tags in the web UI) and a pull account (read-only); leaving PULL_PASSWORD unset allows anonymous pulls.
- Binds to 127.0.0.1 by default; LAN or VPN access requires setting BIND_ADDRESS, and plain HTTP is accepted only from private address ranges unless REQUIRE_HTTPS=1 is set behind a TLS proxy.
- Includes a web inventory with delete previews, on-demand or scheduled offline garbage collection, and optional, opt-in pseudonymous telemetry.
- Works with standard docker login, push, pull and Compose; licensed AGPL-3.0.
Discussion The thread is short and mostly positive. Commenters ask how the project differs from existing lightweight registries such as zot and the OCI registry, and one describes running GitLab's built-in registry on an internal network behind a VPN because a minimal GitLab uses 2-3 GB of memory. The mood is friendly and receptive, with one commenter saying they plan to try it.
- Welcome a lightweight alternative to GitLab's registry (some): A commenter runs GitLab CE internally behind a VPN but finds its memory footprint of at least 2-3 GB too heavy, so a small standalone registry is appealing.
- Interested enough to try it (a few): A commenter says they have wanted something like this for a while and plans to test it.
- Unclear what distinguishes it from zot or OCI registry (a few): One commenter asks what makes this project different from existing options like zot and the OCI registry, which the thread does not answer.