RepositoryGoFRFrance
ML

mlabouardy/nexus-cli

Nexus CLI for Docker Registry v2 🐳

295stars
124forks
34issues
1views

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: docker-registry

#1 Repository Của Tháng

1
TINIX TRENDING·Chủ đề: nexus

#1 Repository Của Tháng

1
TINIX TRENDING·Chủ đề: nexus-repository

#1 Repository Của Tháng

🐳 Quản lý Docker images trên Nexus Repository ngay từ terminal

Một CLI đơn giản bằng Go, tương tác trực tiếp với Docker Registry v2 trên Nexus — không cần web UI.

nexus-cli là công cụ dòng lệnh viết bằng Go, giúp thao tác với Docker images lưu trữ trên Nexus Repository mà không cần truy cập giao diện web. Hỗ trợ đầy đủ các thao tác cơ bản: liệt kê ảnh, xem tags, kiểm tra thông tin và kích thước, xóa ảnh theo tag hoặc dọn dẹp ảnh cũ giữ lại N bản mới nhất.

✨ Điểm nổi bật

  • Cấu hình kết nối: lệnh configure để thiết lập endpoint Nexus Repository
  • Liệt kê ảnh: image ls hiển thị danh sách tất cả Docker images trong registry
  • Xem tags: image tags -name <tên> liệt kê các tag của một image cụ thể
  • Thông tin chi tiết: image info -name <tên> -tag <phiên bản> xem metadata của một image
  • Xóa ảnh: image delete -name <tên> -tag <phiên bản> xóa theo tag, hoặc -keep 4 giữ lại 4 bản mới nhất
  • Kiểm tra kích thước: image size -name <tên> xem dung lượng của image
  • Đa nền tảng: có binary cho Linux, Windows, Mac OS X, OpenBSD, FreeBSD
  • Cài đặt đơn giản: go get -u github.com/mlabouardy/nexus-cli

💡 Vì sao đáng chú ý

Dọn dẹp Docker images cũ trên Nexus là công việc nhàm chán nếu phải làm qua web UI. nexus-cli cho phép tự động hóa thao tác này bằng script, đặc biệt hữu ích với lệnh -keep để giữ lại số lượng ảnh mới nhất mà xóa phần còn lại. Công cụ nhẹ, viết bằng Go, binary đơn lẻ không phụ thuộc runtime — phù hợp để tích hợp vào CI/CD pipeline hoặc cron job dọn dẹp định kỳ.


#Docker #NexusRepository #CLI #Go #TiniX

Similar Projects

Discover other similar projects and AI models.

RepositoryTypeScript
n8n-io/n8n

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

208.6k
Oct 25, 2026
RepositoryShell
ohmyzsh/ohmyzsh

🙃 A delightful community-driven (with 2,500+ contributors) framework for managing your zsh configuration. Includes 300+ optional plugins (rails, git, macOS, hub, docker, homebrew, node, php, python, etc), 140+ themes to spice up your morning, and an auto-update tool that makes it easy to keep up with the latest updates from the community.

190.2k
Oct 25, 2026
RepositoryGo
wagoodman/dive

A tool for exploring each layer in a docker image

54.7k
Dec 15, 2025
RepositoryGo
jenkins-x/bucketrepo

An artifacts repository using cloud storage (a lightweight replacement for Nexus)

62
Sep 25, 2026
RepositoryGo
netdata/netdata

The fastest path to AI-powered full stack observability, even for lean teams.

81.1k
Oct 26, 2026
RepositoryShell
travelaudience/kubernetes-nexus

Run Sonatype Nexus Repository Manager OSS on top of Kubernetes (GKE). Includes instructions for automated backups (GCS) and day-to-day usage.

133
Jul 28, 2020
RepositoryJava
sonatype-nexus-community/nexus-repository-apt

A Nexus Repository 3 plugin that allows usage of apt repositories

108
Sep 27, 2019
RepositoryPHP
Elendev/composer-push

Provide a `push` command to composer to push to repositories

53
Aug 8, 2025
RepositoryTypeScript
morluto/rea

Reverse engineer anything with agents, from app behavior down to native binaries.

390.1k
Oct 26, 2026