What is Docker Registry?
This is your own private container registry - the CNCF Distribution registry, the same engine that runs behind Docker Hub - so you can push and pull images over https on your own domain, with basic-auth, and no rate limits.
Image layers are stored on a Lyngbak Bucket (S3-compatible), which means the registry service itself holds no state: redeploys and rollbacks keep every image, and storage scales independently. A thin wrapper writes a clean config from environment variables at boot and builds an htpasswd file from your credentials, so the registry is never accidentally left open.
It pairs naturally with the catalogue’s CI runners (GitHub, GitLab, Forgejo, Buildkite, Azure Pipelines): build images in a runner, push them here, deploy them anywhere - all inside your own infrastructure, with no Docker Hub pull-rate throttling on your deploys.
What you get
- CNCF Distribution registry - the Docker Hub engine, self-hosted
- Image layers on a Lyngbak Bucket - the service is stateless
- Basic-auth via htpasswd, generated from env at boot
- Listens natively on port 5000, no proxy wrapper
- Unlimited private repositories, no pull-rate limits
- Apache-2.0; OCI-compliant, works with any registry client
How it runs on Lyngbak
| Service | Role | Public |
|---|---|---|
registry | registry API (:5000) | yes |
bucket | Lyngbak Bucket (image layers) | no |
Before you deploy
REGISTRY_AUTH_PASSWORDbasic-auth password (with REGISTRY_AUTH_USER)
REGISTRY_STORAGE_S3_*a Lyngbak Bucket: endpoint, bucket, key, secret
Sizing and billing
The registry is a thin Go service - 256 MiB is plenty even under concurrent pushes. With S3 storage it keeps no local disk; capacity is the Bucket.
A resource is a flat monthly price, with RAM and disk add-ons when the stack needs a little more than a tier, and room for your own apps on a larger one. On Usage Billing each service takes the smallest size that fits it and is billed by the second it runs, so a stopped stack stops costing CPU and RAM. Its 9.77 GiB of volumes cost $0.15 per GiB a month ($1.47/mo) for as long as they exist. One workspace can use both. See pricing
Compared with the managed service
| Service | Plan | Price | Includes |
|---|---|---|---|
| Docker Hub | Pro | $9/mo | $9/user/mo annual ($11 monthly); meters pull rates |
| GitHub Packages | private storage | Usage-based | ~$0.25/GB-mo storage + $0.50/GB egress for private repos |
Hosted registries meter seats, storage, and pull rates; self-hosted is one small stack plus Bucket storage, unlimited private repos. Prices from each vendor's pricing page, June 2026.
Run it locally first
The same compose file runs with plain Docker Compose. Clone the template source, copy .env.example to .env, and run docker compose up -d.
Questions
What does this save vs Docker Hub or GitHub Packages?
Docker Hub’s Pro plan prices per user per month and it meters pull rates; GitHub Packages bills private storage and egress. A self-hosted registry is a small amount of compute plus Bucket storage, with unlimited private repos and no pull throttling.
Why does it need a wrapper instead of the stock image?
Lyngbak configures images through environment variables only, and the stock image ships a filesystem config that conflicts with S3 settings. The wrapper writes a clean config.yml from env (filesystem or S3) and generates the htpasswd file, so the registry comes up correctly and never open by accident.
Can my CI push to it?
Yes. Run `docker login your-app.migetapp.com` with the credentials you set, then push and pull as normal. The catalogue’s CI runners can build and push images to it inside your own network.