Nexus CLI for Docker Registry
To run nexus-cli
download the latest release distribution.
Build the binary using make
:
make build
For configure nexus-cli
use nexus-cli configure
.
Enter Nexus Host
question type your Nexus host with web port. Typically, Nexus run on port 8081
.
nexus-cli configure
nexus-cli image ls
nexus-cli image tags -name mlabouardy/nginx
nexus-cli image info -name mlabouardy/nginx -tag 1.2.0
nexus-cli image delete -name mlabouardy/nginx -tag 1.2.0
nexus-cli image delete -name mlabouardy/nginx -keep 4
nexus-cli image size -name mlabouardy/nginx