Web UI for Private Docker Distribution (Registry).
- Browse Registry (Semantic React UI)
- Delete images from Registry
- more coming..
- Registry 2.6+ (should be ok with
> 2.3but untested) - CLI access to host where Registry is running (run
garbage-collectcommand)
Run somewhere on Docker enabled host:
$ docker pull dalee/hitman
$ docker run \
-e MACARON_ENV=production \
-e REGISTRY_URL=https://registry.example.com:5000/ \
dalee/hitmanPut command to your favourite scheduler (cron, ci, etc..)
$ docker exec -it docker.registry \
bin/registry garbage-collect /etc/docker/registry/config.ymlWhere docker.registry is name of container running Docker Registry.
- There is no auth, so, restrict access to UI via frontend (NGINX
deny/allowfor example) - Multiple
tagscould point to singledigest(you can havelatestandv1.0.1tags, but they actually single image, so be careful) - Tag deletion will not free you hard drive space until
garbage-collectcommand is issued - Depending on storage driver, you may have to manually delete empty repositories (ui will show you hint)
Software is licensed under the Apache License, Version 2.0. See LICENSE for the full license text.
Setting up developer dependencies:
$ make installYou can also use yarn instead of npm:
$ yarn --pure-lockfileRun server:
$ go run ./bin/main.go -registry-url=https://registry.example.com:5000/Full list of commands:
make docker— build docker imagemake install— install all development dependenciesmake format-backend— gofmt sourcesmake test— test backend and frontend codemake test-backend— test backend sourcesmake test-frontend— test frontend sourcesmake coverage-backend ; go tool cover -html=coverage.txt— display backend coverage
Build UI (required after any jsx/css change):
$ npm run buildPoint your browser to http://localhost:4000/