nexus-cli

command module
v0.0.0-...-f7fe173 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 10, 2019 License: MIT Imports: 11 Imported by: 0

README

Nexus CLI for Docker Registry

Usage

Build

This is a docker based build, so you do not need any dependencies beside docker

make build-docker

you find the binaries in ./dist

Download

Pick a release from https://github.com/EugenMayer/nexus-cli/releases

Available Commands

Configurate nexus-cli with your credentials and endpoint

$ nexus-cli configure

List all available images

$ nexus-cli image ls

Show all tags of a specific image

$ nexus-cli image tags -name dockernamespace/yourimage

Get information of a specific tag

$ nexus-cli image info -name dockernamespace/yourimage -tag 1.2.0

Delete a specific tag

$ nexus-cli image delete -name dockernamespace/yourimage -tag 1.2.0

Delete several specific tags

$ nexus-cli image delete -name dockernamespace/yourimage -tag 1.2.0,1.2.1,1.2.3-beta1

Run a dry-run test prior deleting

$ nexus-cli image delete -name dockernamespace/yourimage -keep 4 -dry-run

Delete all tags, but keep the most recent 4. Be aware, latest does also count and is considered "the most recent".

$ nexus-cli image delete -name dockernamespace/yourimage -keep 4

Tutorials

Credits

This is a long time fork of https://github.com/mlabouardy/nexus-cli since the old project seems to be stalling / is dead. Of course, thank you for the work you already have put into that Mohamed Labouardy

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL