# cesanta/docker_auth

Authentication server for Docker Registry 2

Repository: https://github.com/cesanta/docker_auth
Canonical: https://ross.abutalabs.com/products/docker_auth
Language: Go
License: Apache-2.0
License Family: permissive
Topics: docker, authentication, hacktoberfest
Last push: 2026-03-03T23:07:59+00:00

## Health v2 (maintenance only)
Score: 57/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 70, release rhythm 16, longevity 100
- inputs: {"age_days": 4115, "days_push": 183, "days_rel": 440, "gap_med": 170, "n_releases_24m": 2}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1370, forks 312 (observed 2026-08-28T04:04:31.962150+00:00)

## What it is
A standalone authentication and authorization server implementing the Docker Registry 2 token-based auth protocol. It issues tokens for Docker registries with pluggable backends including static users, LDAP, OAuth providers (Google, GitHub, GitLab), and SQL/MongoDB databases.

## Use cases
- add authentication to a private docker registry
- secure docker registry with ldap login
- token-based auth server for docker registry 2
- restrict who can push and pull from a private registry
- use google or github sign-in for docker registry access
- fine-grained acl control for docker images

## When to choose
- you run Docker Registry 2 and need real authentication instead of a reverse-proxy hack
- you need per-repository or per-action ACLs for container images
- you want to authenticate registry users against LDAP, a database, or an OAuth provider

## When to avoid
- you use a managed registry like Docker Hub, ECR, GCR, or Harbor that has built-in auth
- you need a general-purpose identity provider or OIDC server rather than a Docker-specific token issuer

## Facets
- artifact type: service
- maturity: active
- function: auth, authorization, http-server
- domain: security, self-hosted
- platform: go, self-hosted
- tags: docker-registry, token-authentication, ldap, oauth, helm-chart, containers, devops, docker, kubernetes, linux

## Member repositories
- cesanta/docker_auth (main) score 57

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:31.962150+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:40:54.199684+00:00, confidence not recorded.
  - readme: https://github.com/cesanta/docker_auth (fetched 2026-08-28T04:04:31.962150+00:00, sha 3c2d9236eb46)
- Data as of 2026-08-30T08:39:29.467469+00:00.
