Skip to content
This repository was archived by the owner on Sep 22, 2020. It is now read-only.
/ registry-cleanup Public archive

An interactive tool that lets you cleanup your docker registry

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

elbb/registry-cleanup

Repository files navigation

registry-cleanup

This interactive tool allows a user to delete images and/or single tags from a docker registry. It is written in golang.

Requirements

  • golang 1.13

Building

Clone the repo wherever you like and build it using $ make registry-cleanup

You find the binary located in $GOBIN

Usage

./registry-cleanup -h
Usage of registry-cleanup

Usage:
  -address string
    	docker registry URI (default "http://localhost:5000")
  -user string
    	User for auth to docker registry, empty for anymous

Connect to a docker registry and let the menu guide you through the catalog.

$ ./registry-cleanup -address <docker-registry-uri>

Note: Follow the instructions the program gives you on exit to entirely delete all residues of docker images.

Using with docker

Use the image from dockerhub

Start the application using $ docker run --rm -it elbb/registry-cleanup <options>

e.g. $ docker run --rm -it elbb/registry-cleanup -address http://localhost:5000

Build your own image

Build the image using $ make docker

Start the application using $ docker run --rm -it registry-cleanup <options>

e.g. $ docker run --rm -it registry-cleanup -address http://localhost:5000

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

About

An interactive tool that lets you cleanup your docker registry

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published