Docker Registry Browser with Docker: A Web UI for Your Private Registry (Linux, Windows, Mac)
Before you start
- 25 min read
Boxes marked Run in terminal are what you type; plain text explains why. Check what you need first

What you get in one minute#
Docker Registry Browser is a small, free web page (MIT licence) that lists the repositories and tags in your private Docker registry, shows the layers, history and environment of each image, and, only if you switch it on, deletes tags.

Logo: the project has no official logo file, so this is its official README screenshot as a stand-in (github.com/klausmeyer/docker-registry-browser, MIT). Old build.
The registry has no web page: without one you read your images from curl and long JSON. This tool asks the registry's API for you. It pairs with our Docker Registry guide, which uses Joxit's UI instead; we compare both with Harbor below.
| What | Value (official sources, read 5 December 2026) |
|---|---|
| Current version | 1.10.4, released 19 November 2026 (previous: 1.10.3, 4 November 2026) |
| Image to pin | klausmeyer/docker-registry-browser:1.10.4 (tag checked on Docker Hub; amd64, arm64, arm) |
| Registry we pair it with | registry:3.1.3 (CNCF Distribution, released 3 December 2026) |
| Licence | MIT |
| Time needed | About 30 minutes (our estimate) |
| Size | About 151 MB compressed, amd64 (Docker Hub API); no RAM measured |
| Ports | 8080 (page), 5000 (registry), both inside Docker |
| Official docs | Documentation in the repository |

Image: the official Docker Registry Browser repository (screenshot4.png at tag v1.10.4). The tag page behind it shows digest, pull command and layers. Old build.
At a glance:
- What it is: a Ruby on Rails web page in one container. No database, no users of its own.
- What it shows: repositories by namespace, tags, digest, a
docker pullcommand, layers and history. - Besides looking: it deletes a tag, after you turn that on in two places.
- It cannot: search, bulk delete or show total image size (open requests (267, 379, 718).
- Login: it passes your registry login through, so one password protects both.
- For whom: a homelab registry. For roles, scanning and audit use Harbor.
How it fits together#
Docker clients and your web browser reach one HTTPS proxy. The proxy sends the registry's host name to the registry and the browser's host name to Registry Browser, which calls the registry's API over the private Compose network.
Drawn for this guide from the official docs and the source code. The dashed step is manual: nothing frees disk space for you.
A tag is the name of a version (1.10.4). A digest is the fingerprint of the exact content behind it, and the page deletes by digest. The calls come from the app's server, not from your web browser, so no CORS settings are needed here; Joxit's README says its UI may need them.
Before you start#
Note: every domain, user name, password and key on this page is a dummy example (
example.com,labuser,change-me,${VAR}from.env,<your-...>). Dummy value - replace it with your own, and keep real secrets out of Git.
You need a machine with Docker and Compose that stays on. If you already run our registry, skip to Step 2 and add only its registry-browser service.
| System | What to have |
|---|---|
| Linux | Docker Engine and the Compose plugin |
| Windows | Windows 10 or later, Docker Desktop (WSL 2 backend, Linux containers), PowerShell |
| Mac | Docker Desktop, Intel or Apple Silicon, Terminal |
docker --version docker compose version
Checklist:
- [ ] Both commands print a version
- [ ] Host ports 8080 and 5001 are free (we publish them on
127.0.0.1only) - [ ] HTTPS section only: a domain with two DNS names and ports 80 and 443 open. Local-only readers can skip it
Tested on 2026-12-05: Linux = not run; Windows = not run; Mac = not run. We read the official docs, the source at tag v1.10.4 and the issue tracker. Every "expected" result below comes from those, not from a run.
LLM Guide: let your AI assistant set it up#
Prefer to let an AI do the typing? Copy the block below into ChatGPT, Claude, Gemini or a local model. It first asks about your setup (system, Docker, registry, reverse proxy, HTTPS), then follows only the path that fits you. It uses the same pinned versions as this guide. You still read each command before you run it.
You are my assistant for installing Docker Registry Browser 1.10.4 (a web page for a private Docker registry) next to a registry (registry:3.1.3) with Docker Compose.
Follow the DIY Lab Hub guide https://diylabhub.com/docker-registry-browser/ (checked 5 December 2026).
Work one step at a time. Before each command, say in one line what it does. Wait for my OK before anything that deletes data or images, stops a service, runs garbage collection, changes a firewall or opens a port.
STEP 0 - FIND OUT MY SETUP. Ask me these questions (or have me run the read-only checks) before you do anything else:
1. Which system: Linux, Windows (Docker Desktop, WSL 2, Linux containers) or Mac?
2. Docker and Compose installed? Check: docker --version and docker compose version
3. Are host ports 8080 and 5001 free? Do I already run a registry (then I only add the registry-browser service)?
4. Do I run a reverse proxy: Traefik (https entrypoint, resolver le, external network proxy), Caddy, nginx or Nginx Proxy Manager, or none?
5. HTTPS wanted: public domain, HTTPS at home only, or plain HTTP on this machine only? What are my two names (registry.example.com and browser.example.com are examples)?
6. Who may open the page: only registry accounts (default), one shared login, or single sign-on? Do I want to delete tags (off by default)?
THEN FOLLOW THE MATCHING PATH:
- Plain local use: use the files below as they are (ports on 127.0.0.1 only).
- Traefik: add networks: [default, proxy] and labels to both services: traefik.enable=true, traefik.docker.network=proxy, traefik.http.routers.lab-registry.rule=Host(`${REGISTRY_DOMAIN}`), .entrypoints=https, .tls=true, .tls.certresolver=le, traefik.http.services.lab-registry.loadbalancer.server.port=5000; the same for lab-browser with ${BROWSER_DOMAIN} and port 8080. Add top-level networks: default: {} and proxy: external: true. Keep the labels in the YAML file.
- No proxy but HTTPS wanted: add a Caddy service (image: caddy:2.11.9-alpine, ports 80:80 and 443:443, volumes ./config/caddy:/etc/caddy:ro, ./data/caddy:/data, ./data/caddy-config:/config) and config/caddy/Caddyfile with registry.example.com { reverse_proxy registry:5000 } and browser.example.com { reverse_proxy registry-browser:8080 } (service names, never localhost). Public domain = automatic Let's Encrypt (DNS to the server, ports 80 and 443 open). Home only: add tls internal inside both blocks, and each client trusts Caddy's root.crt once (Docker too).
- Any HTTPS path: add REGISTRY_HTTP_HOST: https://${REGISTRY_DOMAIN} to the registry environment; PUBLIC_REGISTRY_URL has no https://. The proxy must pass the real Host and X-Forwarded-* headers.
- nginx / Nginx Proxy Manager: two hosts, one for registry port 5000 and one for the browser port 8080.
- Shared login: set BASIC_AUTH_USER and BASIC_AUTH_PASSWORD (a second registry user) AND put a login in front (Traefik basic auth or Caddy basic_auth). Never run a stored-login setup without the front login.
- Windows PowerShell: make folders under $HOME\docker_volumes\docker-registry-browser, random hex with a small .NET function, Set-Location before compose, curl.exe for checks.
COMMANDS (Linux and Mac; folder ~/docker_volumes/docker-registry-browser with data/registry, config, logs, backups):
Make .env with REGISTRY_DOMAIN, BROWSER_DOMAIN, PUBLIC_REGISTRY_URL=localhost:5001, REGISTRY_HTTP_SECRET=$(openssl rand -hex 32), SECRET_KEY_BASE=$(openssl rand -hex 64), then chmod 600 .env. Generate the values on my machine; never show them.
Registry user (asks me for the password, I type it myself): docker run --rm -it --mount "type=bind,src=$PWD/config,dst=/auth" --entrypoint htpasswd httpd:2.4.71-alpine -Bc /auth/htpasswd labuser
config/config.yml: version: 0.1; log level info; storage filesystem rootdirectory /var/lib/registry, delete enabled: true, cache blobdescriptor ""; auth htpasswd realm "Private Registry" path /auth/htpasswd; http addr :5000.
compose.yaml (no version: line):
name: docker-registry-browser
services:
registry:
image: registry:3.1.3
container_name: lab-registry
restart: unless-stopped
environment:
REGISTRY_HTTP_SECRET: ${REGISTRY_HTTP_SECRET}
OTEL_TRACES_EXPORTER: none
ports:
- "127.0.0.1:5001:5000"
volumes:
- ./data/registry:/var/lib/registry
- ./config/config.yml:/etc/distribution/config.yml:ro
- ./config/htpasswd:/auth/htpasswd:ro
registry-browser:
image: klausmeyer/docker-registry-browser:1.10.4
container_name: lab-registry-browser
restart: unless-stopped
depends_on:
- registry
ports:
- "127.0.0.1:8080:8080"
environment:
SECRET_KEY_BASE: ${SECRET_KEY_BASE}
DOCKER_REGISTRY_URL: http://registry:5000
PUBLIC_REGISTRY_URL: ${PUBLIC_REGISTRY_URL}
ENABLE_DELETE_IMAGES: "false"
TZ: UTC
healthcheck:
test: ["CMD", "curl", "-fsS", "http://127.0.0.1:8080/up"]
interval: 30s
timeout: 5s
retries: 3
start_period: 40s
Then: docker compose config -q (never plain docker compose config), docker compose up -d, docker compose ps.
Test push: docker login localhost:5001 --username labuser, docker pull registry:3.1.3, docker tag registry:3.1.3 localhost:5001/lab/registry:3.1.3, docker push localhost:5001/lab/registry:3.1.3.
CHECK IT WORKED:
- curl -s -o /dev/null -w "%{http_code}\n" http://127.0.0.1:8080/up gives 200, and the same for / gives 401 (no login). http://localhost:8080 asks for labuser and my password, then shows namespace lab, image registry, tag 3.1.3 with its digest and pull command.
- With HTTPS: curl -I https://registry.example.com/v2/ answers 401 with a WWW-Authenticate header, and https://browser.example.com asks for my login.
- Deleting a tag needs two switches (storage.delete.enabled: true and ENABLE_DELETE_IMAGES: "true") and then garbage collection: back up first, docker compose stop registry, run garbage-collect --dry-run, read it, ask me, then run it for real and start the registry. Never delete files in data/registry by hand. Set ENABLE_DELETE_IMAGES back to "false" afterwards.
RULES FOR YOU:
- Use only these versions (1.10.4, registry:3.1.3, caddy:2.11.9-alpine), never latest, and do not invent options. The app reads only DOCKER_REGISTRY_URL and ENABLE_DELETE_IMAGES, not Joxit names such as REGISTRY_URL or DELETE_IMAGES. Never copy SECRET_KEY_BASE=changeme. If a step fails, show me the exact error and read https://github.com/klausmeyer/docker-registry-browser/blob/v1.10.4/docs/README.md before guessing.
- Keep both ports on 127.0.0.1; public access only through the proxy with a login. Never mount the Docker socket.
- Values like example.com, labuser and <your-user> are placeholders: ask me for mine.
- Never ask me to paste passwords, tokens or keys into this chat.
Step 1: Create the folders, the secrets and the registry login#
Everything lives under ~/docker_volumes/docker-registry-browser. .env holds the host names and two random values. SECRET_KEY_BASE is required: the app refuses to start without it (since version 1.7.0). REGISTRY_HTTP_SECRET is a separate value for the registry.
Linux#
mkdir -p ~/docker_volumes/docker-registry-browser/{data/registry,config,logs,backups}
cd ~/docker_volumes/docker-registry-browser
cat > .env << EOF
REGISTRY_DOMAIN=registry.example.com
BROWSER_DOMAIN=browser.example.com
PUBLIC_REGISTRY_URL=localhost:5001
REGISTRY_HTTP_SECRET=$(openssl rand -hex 32)
SECRET_KEY_BASE=$(openssl rand -hex 64)
EOF
chmod 600 .env
docker run --rm -it --mount "type=bind,src=$PWD/config,dst=/auth" --entrypoint htpasswd httpd:2.4.71-alpine -Bc /auth/htpasswd labuser
Windows (PowerShell)#
$base = "$HOME\docker_volumes\docker-registry-browser"
foreach ($d in "data\registry","config","logs","backups") {
New-Item -ItemType Directory -Force "$base\$d" | Out-Null
}
Set-Location $base
function New-RandomHex($bytes) {
$b = New-Object byte[] $bytes
[Security.Cryptography.RandomNumberGenerator]::Create().GetBytes($b)
-join ($b | ForEach-Object { $_.ToString('x2') })
}
@"
REGISTRY_DOMAIN=registry.example.com
BROWSER_DOMAIN=browser.example.com
PUBLIC_REGISTRY_URL=localhost:5001
REGISTRY_HTTP_SECRET=$(New-RandomHex 32)
SECRET_KEY_BASE=$(New-RandomHex 64)
"@ | Set-Content -Encoding ascii .env
docker run --rm -it --mount "type=bind,src=$base\config,dst=/auth" --entrypoint htpasswd httpd:2.4.71-alpine -Bc /auth/htpasswd labuser
Mac (Terminal)#
Same commands as Linux.
The two domains in .env are dummies for the HTTPS section. PUBLIC_REGISTRY_URL only prints docker pull commands and takes a host and port with no https:// (official docs). The last command asks twice for the password of the dummy user labuser. -B makes a bcrypt hash and -c creates the file: leave -c out when you add a second user.
Check it worked. ls -la (Windows: Get-ChildItem -Force) shows .env and the folders, and config/htpasswd has one line starting with your user name. Never paste either file into chats or issues.
Tip: The value of
SECRET_KEY_BASEmust be unique and random. The Docker Hub page still showsSECRET_KEY_BASE=changemein its example (we read it on 5 December 2026), and AI answers copy it. Make your own with the command above.
Step 2: Write the registry configuration and the Compose file#
Save this as config/config.yml. Its version: 0.1 is the registry's own schema, not the old Compose version: line. Deleting is allowed here, but the page shows no delete button until the delete section.
version: 0.1
log:
level: info
storage:
filesystem:
rootdirectory: /var/lib/registry
delete:
enabled: true
cache:
blobdescriptor: ""
auth:
htpasswd:
realm: Private Registry
path: /auth/htpasswd
http:
addr: :5000
The empty blobdescriptor follows the workaround in issue 5010, as in our registry guide. Now save this as compose.yaml:
name: docker-registry-browser
services:
registry:
image: registry:3.1.3
container_name: lab-registry
restart: unless-stopped
environment:
REGISTRY_HTTP_SECRET: ${REGISTRY_HTTP_SECRET}
OTEL_TRACES_EXPORTER: none
ports:
- "127.0.0.1:5001:5000"
volumes:
- ./data/registry:/var/lib/registry
- ./config/config.yml:/etc/distribution/config.yml:ro
- ./config/htpasswd:/auth/htpasswd:ro
registry-browser:
image: klausmeyer/docker-registry-browser:1.10.4
container_name: lab-registry-browser
restart: unless-stopped
depends_on:
- registry
ports:
- "127.0.0.1:8080:8080"
environment:
SECRET_KEY_BASE: ${SECRET_KEY_BASE}
DOCKER_REGISTRY_URL: http://registry:5000
PUBLIC_REGISTRY_URL: ${PUBLIC_REGISTRY_URL}
ENABLE_DELETE_IMAGES: "false"
TZ: UTC
healthcheck:
test: ["CMD", "curl", "-fsS", "http://127.0.0.1:8080/up"]
interval: 30s
timeout: 5s
retries: 3
start_period: 40s
The lines that people get wrong:
| Line | Why |
|---|---|
DOCKER_REGISTRY_URL: http://registry:5000 | The default is http://localhost:5000, which inside the container is the browser itself. We name the registry service and keep plain http:// on the private network |
127.0.0.1:5001:5000 | Local test access only. We skip host port 5000 because some Macs already use it (widely reported, not checked). Docker allows localhost registries over HTTP (Docker docs) |
ENABLE_DELETE_IMAGES: "false" | The default: no delete button |
healthcheck with /up | The source has a /up page that answers 200 when the app has booted; the image contains curl |
| No volume for the browser | It stores nothing |
Check it worked. docker compose config -q prints nothing and exits with 0. Do not post the full docker compose config output: it contains your secrets.
Linux#
cd ~/docker_volumes/docker-registry-browser docker compose config -q
Windows (PowerShell)#
Set-Location "$HOME\docker_volumes\docker-registry-browser" docker compose config -q
Mac (Terminal)#
Same commands as Linux.
Step 3: Start it and open the page#
Linux#
cd ~/docker_volumes/docker-registry-browser docker compose up -d docker compose ps docker compose logs --tail=30 registry-browser
Windows (PowerShell)#
Set-Location "$HOME\docker_volumes\docker-registry-browser" docker compose up -d docker compose ps docker compose logs --tail=30 registry-browser
Mac (Terminal)#
Same commands as Linux.
We ran nothing, Docker Desktop included, so we show no real output. A log in issue 747 (older version) starts with Puma starting in single mode... and * Listening on http://0.0.0.0:8080; expect that shape. A container that exits at once with Missing SECRET_KEY_BASE variable. has an empty or misplaced .env.
Check it worked. Open http://localhost:8080. Your web browser asks for a user name and password: use labuser and your password. You then see an empty list. The login comes from the registry: it answers 401 to the catalog request, and the app asks you for credentials and forwards them (application_controller.rb). Two terminal checks:
curl -s -o /dev/null -w "%{http_code}\n" http://127.0.0.1:8080/up
curl -s -o /dev/null -w "%{http_code}\n" http://127.0.0.1:8080/
Expected from the source, not seen by us: 200 for /up, 401 for / (no login). On Windows use curl.exe.
Step 4: Push a test image and find it in the page#
We reuse the registry image as a harmless sample (use your own user name if it differs).
Linux#
docker login localhost:5001 --username labuser docker pull registry:3.1.3 docker tag registry:3.1.3 localhost:5001/lab/registry:3.1.3 docker push localhost:5001/lab/registry:3.1.3
Windows (PowerShell)#
docker login localhost:5001 --username labuser docker pull registry:3.1.3 docker tag registry:3.1.3 localhost:5001/lab/registry:3.1.3 docker push localhost:5001/lab/registry:3.1.3
Mac (Terminal)#
Same commands as Linux.
Check it worked. Reload the page: namespace lab, image registry. Open tag 3.1.3: it shows the digest, a docker pull command built from PUBLIC_REGISTRY_URL, the layers and the history. The push prints a digest; the same sha256: value is on the page.
Put it behind HTTPS (with or without Traefik)#
This is for a server with a domain; local-only readers can skip it. Point two DNS names at the server (the dummies registry.example.com and browser.example.com; replace them in .env). Set PUBLIC_REGISTRY_URL to the registry's name with no https://, and add this to the registry service so it builds correct upload links:
environment:
REGISTRY_HTTP_HOST: https://${REGISTRY_DOMAIN}
Apply it with docker compose up -d. Inside Docker the traffic stays plain HTTP; only the proxy speaks HTTPS.
With Traefik#
Use the set-up from our Traefik guide: an https entrypoint, a resolver named le and the external proxy network (docker network inspect proxy; only if missing, docker network create proxy). Add this to the two services:
registry:
networks: [default, proxy]
labels:
- "traefik.enable=true"
- "traefik.docker.network=proxy"
- "traefik.http.routers.lab-registry.rule=Host(`${REGISTRY_DOMAIN}`)"
- "traefik.http.routers.lab-registry.entrypoints=https"
- "traefik.http.routers.lab-registry.tls=true"
- "traefik.http.routers.lab-registry.tls.certresolver=le"
- "traefik.http.services.lab-registry.loadbalancer.server.port=5000"
registry-browser:
networks: [default, proxy]
labels:
- "traefik.enable=true"
- "traefik.docker.network=proxy"
- "traefik.http.routers.lab-browser.rule=Host(`${BROWSER_DOMAIN}`)"
- "traefik.http.routers.lab-browser.entrypoints=https"
- "traefik.http.routers.lab-browser.tls=true"
- "traefik.http.routers.lab-browser.tls.certresolver=le"
- "traefik.http.services.lab-browser.loadbalancer.server.port=8080"
At the top level add the network once:
networks:
default: {}
proxy:
external: true
Keep the labels in the YAML file: PowerShell reads backticks in double-quoted strings as escapes.
Without Traefik: Caddy#
Add a Caddy service (same tag as our Caddy guide):
caddy:
image: caddy:2.11.9-alpine
restart: unless-stopped
ports:
- "80:80"
- "443:443"
volumes:
- ./config/caddy:/etc/caddy:ro
- ./data/caddy:/data
- ./data/caddy-config:/config
Create config/caddy/Caddyfile with your names written out (Caddy does not read .env here):
registry.example.com {
reverse_proxy registry:5000
}
browser.example.com {
reverse_proxy registry-browser:8080
}
Make the folder (mkdir -p config/caddy; PowerShell: New-Item -ItemType Directory -Force config/caddy) and run docker compose up -d. For a public domain Caddy gets and renews a Let's Encrypt certificate itself once DNS points here and ports 80 and 443 are reachable (Caddy guide). The upstreams are service names: localhost inside Caddy would mean Caddy.
Home only, no public domain. Put tls internal first inside both site blocks for Caddy's own local certificate, resolve the names in your local DNS and keep ports 80 and 443 off the internet. Each client must trust Caddy's root once. Copy only the public root:
docker compose cp caddy:/data/caddy/pki/authorities/local/root.crt config/caddy-root.crt
Then trust it: Linux Docker Engine: copy it to /etc/docker/certs.d/registry.example.com/ca.crt (and into the system store for your web browser). Windows: import it into Trusted Root Certification Authorities and restart Docker Desktop. Mac: import it into Keychain Access, set Always Trust and restart Docker Desktop. Never copy the CA's private key (details).
Check it worked. curl -I https://registry.example.com/v2/ (Windows: curl.exe) should answer 401 with a WWW-Authenticate header, which is the registry asking for a login and not a certificate warning. https://browser.example.com should ask for your login and then show your images. We did not run this.
Tip: A web browser that trusts a certificate does not prove that Docker does. Docker Engine on the machine that pushes must trust the CA too.
Who may open the page: three ways to log in#
| Way | How it works | Use it when |
|---|---|---|
| A. Pass the registry login through (our setup) | No BASIC_AUTH_* variables. Your web browser sends your registry user and password and the app forwards them (docs: it "forwards that request to the web-browser") | A few people with registry accounts. No secret is stored in the container |
| B. Stored login + a login in front | You set BASIC_AUTH_USER and BASIC_AUTH_PASSWORD and add Traefik or Caddy basic auth | One shared password for the page |
| C. Single sign-on | Stored login as in B, with authentik forward auth in front | You already run authentik |
For B and C: in the source (resource.rb) the stored credentials win over what the visitor sends. Everyone past your front login acts as that registry account, deleting included if it is on, and htpasswd has no read-only role. The front login is the only door.
For B add a second registry user, put it in .env, and pass it to the browser:
BASIC_AUTH_USER: ${BROWSER_REGISTRY_USER}
BASIC_AUTH_PASSWORD: ${BROWSER_REGISTRY_PASSWORD}
Traefik reads its users file inside its own container, so mount a folder there as our Traefik guide does for its dashboard, then add two labels to registry-browser:
- "traefik.http.routers.lab-browser.middlewares=lab-browser-auth"
- "traefik.http.middlewares.lab-browser-auth.basicauth.usersfile=/auth/users"
With Caddy use basic_auth and a hash from docker compose exec caddy caddy hash-password:
browser.example.com {
basic_auth {
viewer <paste-the-hash-here>
}
reverse_proxy registry-browser:8080
}
For C follow the forward-auth section of our authentik guide for https://browser.example.com.
Tip: Never expose a stored-login setup (B or C) without the front login: anyone could read your image list and, with delete on, remove tags.
Delete images and free the space safely#
Deleting needs two switches and a cleanup:
- Registry:
storage.delete.enabled: true(set in Step 2). If it is off, the registry answers HTTP 405 and the page shows "The delete request was blocked by the registry." - Page:
ENABLE_DELETE_IMAGES: "true". If it is off, the delete button is hidden. - Cleanup: deleting removes references only. The registry docs say garbage collection removes blobs no manifest uses. Until you run it, the disk stays full.
The page deletes by digest (DELETE /v2/<name>/manifests/<digest>, source tag.rb), and the registry API requires a digest. Every other tag pointing to the same digest stops working too.
Take a backup first (see "Updates and backups"). Then set ENABLE_DELETE_IMAGES to "true" in compose.yaml and recreate the page:
Linux#
cd ~/docker_volumes/docker-registry-browser docker compose up -d registry-browser
Windows (PowerShell)#
Set-Location "$HOME\docker_volumes\docker-registry-browser" docker compose up -d registry-browser
Mac (Terminal)#
Same commands as Linux.
Open a disposable tag such as lab/registry:3.1.3, press Delete Tag..., type the tag name and confirm. The source's success message is The tag 3.1.3 has been deleted.
Now free the space. Writes must stop while garbage collection runs (docs: stop the registry or use read-only mode). Run these one by one, on any system:
docker compose stop registry docker compose run --rm --no-deps registry garbage-collect --dry-run /etc/distribution/config.yml
Read what it would remove. Only if the dry run succeeds and your backup exists:
docker compose run --rm --no-deps registry garbage-collect /etc/distribution/config.yml docker compose up -d registry
We leave out --delete-untagged because it removes more than you asked for; our registry guide explains. Then set ENABLE_DELETE_IMAGES back to "false" and run docker compose up -d registry-browser. The page has no retention policy (issue 627 asked for one).
Tip: If
data/registrydoes not shrink after a delete, you have not run garbage collection yet. Never delete files in it by hand.
Registry Browser, Joxit UI or Harbor#
| Registry Browser | Joxit docker-registry-ui | Harbor | |
|---|---|---|---|
| Who calls the registry | The app's server (no CORS) | Your web browser (README: "may need CORS configuration") | Harbor is the registry |
| Registry URL variable | DOCKER_REGISTRY_URL | REGISTRY_URL or NGINX_PROXY_PASS_URL | not applicable |
| Delete variable | ENABLE_DELETE_IMAGES | DELETE_IMAGES | built in |
| Licence | MIT | AGPL-3.0 | Apache-2.0 |
| Users and roles | None of its own | None of its own | Projects, robot accounts, scanning |
Use Registry Browser for the least configuration. Use Joxit's UI (our registry guide) if you prefer it and serve it from the registry's host name, which avoids CORS. Use Harbor when you need roles, scanning and audit. Otherwise scan images with Trivy.
Security and testing#
| Control | How |
|---|---|
| The login | Every request goes through the registry's 401 or your front login. Test it in a private window |
| Secrets | .env with chmod 600, never in Git. The source also reads Docker secret files named like the variable, for example /run/secrets/BASIC_AUTH_PASSWORD (in the code, not the docs; not tested) |
| Docker socket | Not needed. Do not mount it |
| Ports | Both on 127.0.0.1; public access only through the proxy |
| Logs | Keep REGISTRY_LOG_HEADERS off: the docs warn that Authorization headers are sensitive |
docker compose ps docker compose logs --tail=100 registry-browser curl -I https://browser.example.com
Both services should run, and the browser should become healthy. Replace the dummy domain or use http://127.0.0.1:8080; on Windows use curl.exe.
Common mistakes#
The error texts come from the project's real issues and source code, read on 5 December 2026. Old reports show symptoms, not a promise that it happens today.
| Mistake | Why it happens | Do this instead |
|---|---|---|
No key: Missing SECRET_KEY_BASE variable. (issue 636) | The entrypoint stops the container when it is empty | Generate it with openssl rand -hex 64, keep it in .env |
DOCKER_REGISTRY_URL left at its default | localhost:5000 inside the container is the browser itself | Use http://registry:5000, the service name |
Delete does nothing behind a proxy: ActionController::InvalidAuthenticityToken (HTTP Origin header ... didn't match request.base_url ...) (747, 800) | The page's idea of its own address differs from the browser's Origin | Make the proxy pass the real Host and the X-Forwarded-* headers. In issue 800 a forgotten port in the host header was the last gap. Caddy sets X-Forwarded-Proto and -Host itself (Caddy docs); we did not test delete through it |
Faraday::ResourceNotFound (the server responded with status 404) on delete (issue 748) | http:// in DOCKER_REGISTRY_URL for a registry that needed https:// | Check scheme and port of the registry URL first |
| No delete button, or "The delete request was blocked by the registry." | One of the two switches is off; issue 10 was a typo, enable for enabled | Set storage.delete.enabled: true and ENABLE_DELETE_IMAGES=true |
Pointing it at Docker Hub: CookieOverflow (_docker_registry_browser_session cookie overflowed with size 5420 bytes) (716) | The session cookie holds the registry token and is limited to about 4 KB (maintainer, issue 716) | Use it for your own registry only. The maintainer declined to change this |
Under a subpath without telling it (issue 179: redirect to /repo/ outside the prefix) | The app thinks it lives at / | Set SCRIPT_NAME and RAILS_RELATIVE_URL_ROOT, strip the prefix in the proxy (docs), or give it its own host name |
AI assistants: hand over Joxit names (REGISTRY_URL, DELETE_IMAGES, SINGLE_REGISTRY) or CORS headers | Two tools with similar names | Use DOCKER_REGISTRY_URL and ENABLE_DELETE_IMAGES. The app reads only its own names (settings.rb), so a Joxit name changes nothing |
AI assistants: latest tags, SECRET_KEY_BASE=changeme, or "ENABLE_DELETE_IMAGES=true is enough" | Old examples are copied | Pin 1.10.4, make your own key, and enable delete on the registry too |
Tip: After you change a variable, run
docker compose up -din the project folder. Editing the file does not change a running container.
Tip: Test delete on a disposable tag after you add the proxy. The login and the pages can work while delete fails, because delete is the one request the Origin check blocks.
Tip: Pin the tag. Version 1.10.1 fixed an error 500 for tags without a created date, such as BuildKit cache tags (issue 908); older versions still have it.
Troubleshooting#
| Problem | Solution |
|---|---|
| Container exits at once | docker compose logs registry-browser; look for Missing SECRET_KEY_BASE variable. |
| List empty or an error page | Check DOCKER_REGISTRY_URL, then docker compose logs registry |
| Login box returns again and again | Wrong registry password. The registry reads htpasswd at start: docker compose restart registry |
| Certificate error in the logs | CA_FILE for your own CA, or NO_SSL_VERIFICATION=true only for a quick test (docs) |
| Delete works but the disk stays full | Run garbage collection |
| Push works locally, not through the proxy | See our registry guide for REGISTRY_HTTP_HOST and proxy headers |
| Need detail | Set REGISTRY_LOG_LEVEL=debug (documented), read the log, switch it off |
Exact error texts#
Tag deletion feature is not enabled.andPlease set ENABLE_DELETE_IMAGES=true to enable it.(controller source): turn the variable on.Faraday::SSLError (SSL_connect returned=1 errno=0 state=error: certificate verify failed (unable to get local issuer certificate))(issue 282): the registry's CA is unknown to the container; useCA_FILE.Faraday::ConnectionFailed (Failed to open TCP connection to registry.myhost.local:5001 (getaddrinfo: Name does not resolve))(issue 18, 2017): a DNS problem inside an old Alpine-based container; one user fixed it with a shared Docker network. Use the service name.ActionView::Template::Error (Object must be a Date, DateTime or Time object. nil given.)(issue 908): fixed in 1.10.1.- For the Origin error above, the source also has
ASSUME_SSLandFORCE_SSLswitches (production.rb). They are not in the docs and we did not test them: try them only when the headers are right and the error stays.
Known bugs#
1.10.4 is the latest release on 5 December 2026. The main branch has newer security bumps, for rack (952) and websocket-driver (950), and the master image tag was rebuilt on 3 December. We pin 1.10.4; check the releases page before you start. The open issues are feature requests. We found nothing that stops a normal install.
Updates and backups#
Update. Read the releases page, change the tag, then:
cd ~/docker_volumes/docker-registry-browser docker compose pull docker compose up -d docker compose ps
In PowerShell run Set-Location "$HOME\docker_volumes\docker-registry-browser" first. Update the registry the same way after reading its release notes and making a backup.
What to back up. The page keeps nothing. Back up .env, compose.yaml, config (with htpasswd) and data, where your images live. We stop the registry during the copy so nothing is written. This is our reading of the docs, not a tested procedure.
Linux and Mac#
Save as ~/docker_volumes/docker-registry-browser/backup.sh:
#!/usr/bin/env bash set -euo pipefail base="$HOME/docker_volumes/docker-registry-browser" cd "$base" out="backups/registry-$(date +%F).tar.gz" docker compose stop registry trap 'docker compose start registry' EXIT tar -czf "$out" .env compose.yaml config data chmod 600 "$out"
Run chmod 700 on it and add this line with crontab -e (on a Mac write /Users/<your-user>/...):
0 3 * * * /home/<your-user>/docker_volumes/docker-registry-browser/backup.sh
Windows (PowerShell)#
Save as $HOME\docker_volumes\docker-registry-browser\backup.ps1:
$base = "$HOME\docker_volumes\docker-registry-browser"
Set-Location $base
$out = "backups\registry-$(Get-Date -Format yyyy-MM-dd).tar.gz"
docker compose stop registry
try { tar.exe -czf $out .env compose.yaml config data }
finally { docker compose start registry }
In Task Scheduler run powershell.exe -NoProfile -File <full-path-to-the-script> daily at 03:00. Docker Desktop must be running at that time.
Restore test#
On a spare machine (or after stopping the original) unpack the archive into an empty folder, then:
docker compose up -d curl -s -u labuser http://127.0.0.1:5001/v2/_catalog
curl asks for the password and should print the repository list, for example lab/registry. The page at http://localhost:8080 should show the same images. Backups hold every image, so delete old ones.
Performance and resources#
The docs give no minimum RAM or CPU and we measured none: run docker stats lab-registry lab-registry-browser. The image is about 151 MB compressed for amd64. The list shows 100 repositories per page (CATALOG_PAGE_SIZE), and opening a tag makes several registry calls, so a huge registry is slower. SORT_TAGS_BY (api, name, version) and ENABLE_COLLAPSE_NAMESPACES=true tidy long lists.
FAQ#
Does it need CORS settings on the registry? Not here: the app's server makes the calls. Joxit's UI is the one whose README mentions CORS.
Can I use it with Docker Hub or GitLab? It is made for self-hosted registries. Hub and big GitLab catalogs can overflow the cookie (762).
Token-auth registries? The docs say token auth was tested with the official registry, cesanta/docker_auth and Keycloak (TOKEN_AUTH_USER, TOKEN_AUTH_PASSWORD). We did not test it.
Why are the pictures old? They show Ruby 2.5.1 and Rails 5.2.1 in the footer; current builds use Rails 8.1 and Ruby 4.0, so details differ.
Sources#
- Docker Registry Browser: repository, README, documentation, release v1.10.4 (19 November 2026), MIT licence; source at the tag: Dockerfile, entrypoint, application_controller.rb, tags_controller.rb, resource.rb, production.rb - read 5 December 2026
- Image tags on Docker Hub (API checked for
1.10.4) - CNCF Distribution: release v3.1.3 (3 December 2026), configuration, HTTP API, garbage collection
- Docker insecure registries, Traefik BasicAuth, Caddy basic_auth and reverse_proxy, Joxit README at 2.6.0 (AGPL-3.0) - read December 2026
- Issues read: 10, 18, 179, 282, 636, 716, 747, 748, 762, 800, 908
- Our guides: Docker Registry, Harbor, Traefik, Caddy, authentik, Trivy
Checked against the official docs on 2026-12-05. Nothing was run on a real machine by DIY Lab Hub; the commands come from the docs, the source code at tag v1.10.4 and the issues above.