https://github.com/xmapst/nexusimageclean
Nexus CLI for Docker Registry v2 🐳
https://github.com/xmapst/nexusimageclean
cli docker docker-registry golamb image nexus nexus-repository nexus3
Last synced: about 2 months ago
JSON representation
Nexus CLI for Docker Registry v2 🐳
- Host: GitHub
- URL: https://github.com/xmapst/nexusimageclean
- Owner: xmapst
- License: mit
- Created: 2021-01-06T05:33:22.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-07-30T00:56:33.000Z (about 1 year ago)
- Last Synced: 2024-07-30T05:32:21.242Z (about 1 year ago)
- Topics: cli, docker, docker-registry, golamb, image, nexus, nexus-repository, nexus3
- Language: Go
- Homepage:
- Size: 146 KB
- Stars: 6
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# NexusImageClean
Nexus CLI for Docker Registry v2 🐳[](https://circleci.com/gh/xmapst/NexusImageClean) [](LICENSE)
![]()
Nexus CLI for Docker Registry
## Usage
```text
$ ./NexusImageClean
NAME:
Nexus docker image clean CLI - Manage Docker Private Registry on NexusUSAGE:
NexusImageClean [global options] command [command options] [arguments...]VERSION:
1.0.0AUTHOR:
XMapstCOMMANDS:
configure Configure Nexus Credentials
image Mange Docker Images
help, h Shows a list of commands or help for one commandGLOBAL OPTIONS:
--help, -h show help (default: false)
--version, -v print the version (default: false)
```## Download
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.
### Linux:
```
wget https://github.com/xmapst/NexusImageClean/releases/download/1.0.0/NexusImageClean
```## Installation
To install the library and command line program, use the following:
```
go get -u github.com/xmapst/NexusImageClean
```## Available Commands
```
$ 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
```