Nexus CLI for Docker Registry v2 🐳
Nexus CLI for Docker Registry
$ ./NexusImageClean
NAME:
Nexus docker image clean CLI - Manage Docker Private Registry on Nexus
USAGE:
NexusImageClean [global options] command [command options] [arguments...]
VERSION:
1.0.0
AUTHOR:
XMapst <[email protected]>
COMMANDS:
configure Configure Nexus Credentials
image Mange Docker Images
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:
--help, -h show help (default: false)
--version, -v print the version (default: false)
Below are the available downloads for the latest version of Nexus CLI (1.0.0). Please download the proper package for your operating system and architecture.
wget https://github.com/xmapst/NexusImageClean/releases/download/1.0.0/NexusImageClean
To install the library and command line program, use the following:
go get -u github.com/xmapst/NexusImageClean
$ NexusImageClean configure
$ NexusImageClean image ls
$ NexusImageClean image tags -name mlabouardy/nginx
$ NexusImageClean image info -name mlabouardy/nginx -tag 1.2.0
$ NexusImageClean image delete -name mlabouardy/nginx -tag 1.2.0
$ NexusImageClean image delete -name mlabouardy/nginx -keep 4
$ NexusImageClean image delete -keep 4