https://github.com/mlabouardy/nexus-cli
Nexus CLI for Docker Registry v2 🐳
https://github.com/mlabouardy/nexus-cli
cli docker docker-registry image nexus nexus-repository
Last synced: about 1 year ago
JSON representation
Nexus CLI for Docker Registry v2 🐳
- Host: GitHub
- URL: https://github.com/mlabouardy/nexus-cli
- Owner: mlabouardy
- License: mit
- Created: 2017-10-31T18:35:30.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-11-15T16:23:58.000Z (over 3 years ago)
- Last Synced: 2025-03-29T21:09:04.990Z (about 1 year ago)
- Topics: cli, docker, docker-registry, image, nexus, nexus-repository
- Language: Go
- Homepage:
- Size: 119 KB
- Stars: 289
- Watchers: 20
- Forks: 121
- Open Issues: 41
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
[](https://circleci.com/gh/mlabouardy/nexus-cli) [](LICENSE)
Nexus CLI for Docker Registry
## Usage
## Download
Below are the available downloads for the latest version of Nexus CLI (1.0.0-beta). Please download the proper package for your operating system and architecture.
### Linux:
```
wget https://s3.eu-west-2.amazonaws.com/nexus-cli/1.0.0-beta/linux/nexus-cli
```
### Windows:
```
wget https://s3.eu-west-2.amazonaws.com/nexus-cli/1.0.0-beta/windows/nexus-cli
```
### Mac OS X:
```
wget https://s3.eu-west-2.amazonaws.com/nexus-cli/1.0.0-beta/osx/nexus-cli
```
### OpenBSD:
```
wget https://s3.eu-west-2.amazonaws.com/nexus-cli/1.0.0-beta/openbsd/nexus-cli
```
### FreeBSD:
```
wget https://s3.eu-west-2.amazonaws.com/nexus-cli/1.0.0-beta/freebsd/nexus-cli
```
## Installation
To install the library and command line program, use the following:
```
go get -u github.com/mlabouardy/nexus-cli
```
## Available Commands
```
$ 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
```
## Tutorials
* [Cleanup old Docker images from Nexus Repository](http://www.blog.labouardy.com/cleanup-old-docker-images-from-nexus-repository/)