As simple as possible docker registry frontend/UI
394




To enable image deletion you need to:
-e REGISTRY_STORAGE_DELETE_ENABLED=truedocker run -d -p 5000:5000 --restart=always --name registry \
-v ./auth:/auth \
-e "REGISTRY_AUTH=htpasswd" \
-e "REGISTRY_AUTH_HTPASSWD_REALM=Registry Realm" \
-e REGISTRY_AUTH_HTPASSWD_PATH=/auth/htpasswd \
-e REGISTRY_STORAGE_DELETE_ENABLED=true \
registry:2
10 * * * * docker exec registry bin/registry garbage-collect /etc/docker/registry/config.yml--no-cache mode each time or restarting the registry docker restart registry once after deletion.See more:
https://github.com/docker/docker-registry/issues/988#issuecomment-224280919
https://docs.docker.com/registry/configuration/#delete
https://docs.docker.com/registry/garbage-collection/#/how-garbage-collection-works
What is it and how it works see docker documentation.
Bow was tested to work with cesanta/docker_auth in this configuration.
I can say that this app almost fit my needs, so in all likelihood, soon, I will not improve it hardly, but this is the list of ideas just for case:
docker run -d \
--name=Bow \
-e BS_LOG_SILENT=yes \
-e BS_TIME_WATCH=no \
-v ~/db/bow:/var/lib/bow \
-p 5001:19808 \
evedel/bow
If you have interest, you can easily start with
git clone https://github.com/evedel/bow.git
cd bow && git clone https://github.com/fperucic/treant-js project/resources/treant-js
docker-compose -f develop/devcompose.yml up -d
docker exec -it develop_golang_1 go get
docker exec -it develop_golang_1 go test -v qurl -repo='https://UsErNaMe:[email protected]'
docker exec -it develop_golang_1 go run main.go
This app is written on golang with use of standard packages and:
https://github.com/boltdb/bolt -- BoltDB
https://github.com/fatih/color -- to make cli shiny
https://github.com/wader/disable_sendfile_vbox_linux -- to develop on docker-machine
http://www.chartjs.org/ -- to draw best graphs ever
https://github.com/fperucic/treant-js -- to draw parents graphs
Content type
Image
Digest
Size
5.2 MB
Last updated
over 8 years ago
docker pull jermine/bow