hn.today

Show HN: Self-hosted Docker image registry. One container, two simple accounts

github.com51 points33 comments
Screenshot of Show HN: Self-hosted Docker image registry. One container, two simple accounts

Registreasy is a self-hosted Docker image registry packaged as one container, with one network port and one persistent data folder. Built on CNCF Distribution behind Nginx, it supports standard Docker login, push, pull, and Compose workflows. Its deliberately limited access model has two accounts: a push account that can read and publish images and manage tag deletions, and a pull account that can only read. Pulls can instead be anonymous by leaving the pull password unset. A web inventory displays tagged images by repository, reports on-disk size, and lets the push user preview deletions before confirming them.

The setup aims to keep deployment and backups simple, but its network exposure needs care. The default binds only to localhost; access from other machines requires binding to a LAN or VPN address, and plain HTTP clients may need Docker configured to trust an insecure registry. Plain HTTP is restricted to private-address clients by default. Public access should use a TLS proxy, with HTTPS enforcement and the proxy configured as trusted. Routine tag deletion leaves the registry online; garbage collection can be run on demand or scheduled, with configurable maintenance timing. Optional pseudonymous telemetry is off until a signed-in user opts in and excludes image names, tags, and usernames. The project is AGPL-3.0 licensed and accepts contributions.

Read on github.com33 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Programming

Show HN: Rust Commander

Show HN: Rust Commander

Rust Commander is a Rust terminal file manager modeled on Midnight Commander, with dual-pane navigation, a persistent shell, archive and remote browsing, and background file operations. Version 0.3.1 adds file-change alerts, viewer copy controls, customizable skins, and faster SFTP previews and copying. (github.com)

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.