Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 1 day 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 (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-11-15T16:23:58.000Z (about 2 years ago)
- Last Synced: 2024-12-30T15:25:13.366Z (8 days ago)
- Topics: cli, docker, docker-registry, image, nexus, nexus-repository
- Language: Go
- Homepage:
- Size: 119 KB
- Stars: 288
- Watchers: 21
- Forks: 122
- Open Issues: 41
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
[![CircleCI](https://circleci.com/gh/mlabouardy/nexus-cli.svg?style=svg)](https://circleci.com/gh/mlabouardy/nexus-cli) [![MIT License](http://img.shields.io/badge/license-MIT-blue.svg?style=flat)](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/)