Docker Registry Manager is a golang written, beego driven, web interface for interacting with multiple docker registries (one to many).
- Lower cpu usage, disable snagles/docker-registry-manager's regex tag analyse, it is a eat cpu lion.
- Improve performance, tagsize(), Status(), IP() some sync remote request all use async Reresh method.
- Improve docker image build,after build , only 21M after expand.
- Remove dockerhub support, it is very slow in China.
registry.yml add enable delete.
# https://docs.docker.com/registry/configuration/
version: 0.1
log:
fields:
service: registry
accesslog:
disabled: true
level: error
storage:
cache:
blobdescriptor: inmemory
filesystem:
rootdirectory: /var/lib/registry
# 开启删除功能
delete:
enabled: true
http:
addr: :5000
headers:
X-Content-Type-Options: [nosniff]
health:
storagedriver:
enabled: true
interval: 10s
threshold: 3
auth:
htpasswd:
realm: basic-realm
path: /registry/config/htpasswd
The below steps assume you have a docker registry currently running (with delete mode enabled (https://docs.docker.com/registry/configuration/). To add a registry to manage, add via the interface... or via the config.yml file
Install compose (https://docs.docker.com/compose/install/)
git clone https://github.com/snagles/docker-registry-manager.git && cd docker-registry-manager
vim config.yml # add your registry
docker-compose up -d
firefox localhost:8080
git clone https://github.com/snagles/docker-registry-manager.git && cd docker-registry-manager
vim config.yml # add your registry
cd app && go build . && ./app
firefox localhost:8080
vim config.yml # add your registry
docker run --detach --name docker-registry-manager -p 8080:8080 docker-registry-manager
- Support for docker distribution registry v2 (https and http)
- Viewable image/tags stages, commands, and sizes.
- Bulk deletes of tags
- Registry activity logs
- Comparison of registry images to public Dockerhub images
- Authentication for users with admin/read only rights using TLS
- Global search
- List image shared layers
- Event timeline