A Docker Registry compatible with V2 HTTP API
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
layout-exe
sqitch
src
test
utils/proxy
.gitignore
Dockerfile
LICENSE
Makefile
README.md
Setup.hs
docker-compose.yml
sr.cabal
stack.yaml

README.md

The Superhuman Registry

The Superhuman Registry is a Docker Registry HTTP API V2 compatible registry implemented in Haskell with Servant.

You may be interested in the in-progress blog post about this work.

Logging

Logging is implemented via Katip

Deployment

TODO: Docker Image

Dumping the Routes

stack build
stack exec sr-layout-exe

Will will dump the route structure similar to the following.

/
└─ v2/
   ├─•
   ┆
   ┆
   ├─ <capture>/
   │  ├─ blobs/
   │  │  ├─ <capture>/
   │  │  │  ├─•
   │  │  │  ┆
   │  │  │  ├─•
   │  │  │  ┆
   │  │  │  └─•
   │  │  ┆
   │  │  └─ uploads/
   │  │     ├─•
   │  │     ┆
   │  │     ┆
   │  │     └─ <capture>/
   │  │        ├─•
   │  │        ┆
   │  │        ├─•
   │  │        ┆
   │  │        ├─•
   │  │        ┆
   │  │        └─•
   │  ├─ manifests/
   │  │  └─ <capture>/
   │  │     ├─•
   │  │     ┆
   │  │     ├─•
   │  │     ┆
   │  │     ├─•
   │  │     ┆
   │  │     └─•
   │  └─ tags/
   │     └─ list/
   │        └─•
   ┆
   └─ _catalog/
      └─•