Vibeleaderboard
Index / tool
Visit github.com
Category
Developer Tools
Rank
Pricing
Open Source
Type
TOOL
Builder
goharbor
GitHub
162 stars
Latest release
v0.0.26
Date

About

Official command-line interface for the Harbor container registry.

What it does

Harbor CLI turns registry administration into terminal commands for people and automation. It manages projects, repositories, artifacts, tags, labels, quotas, users, registries, replication, scanners, schedules, health checks, and system configuration. Commands can emit table, JSON, YAML, or CSV output, depending on the documented command.

Why it's ranked here

Its breadth makes it credible as a daily operations tool, not merely a thin login wrapper. Multiple credential contexts, structured output, shell completion, configuration export and apply, log following, and broad installation choices suit both interactive work and pipelines. The remaining WebUI gaps keep the verdict mixed rather than unconditional.

What's good

Credential contexts let operators switch among Harbor instances or accounts without rewriting configuration manually. Explicit configuration precedence supports predictable local and pipeline behavior. Password input from standard input avoids exposing secrets in command arguments. Health, information, quotas, audit logs, LDAP, and system settings extend coverage beyond basic artifact operations.

Tradeoffs

The stated WebUI parity goal remains incomplete. Vulnerability dashboards, distribution, garbage collection, and job service dashboards are listed as missing. Harbor versions before 2.13 may lose functionality or behave unexpectedly, while releases before 2.0 are unsupported. Container use also requires mounting configuration and supplying a base64-encoded encryption key.

How to use it well

It best fits Harbor operators who repeat registry administration locally or inside deployment pipelines. Use structured output for scripts, named credential contexts for separate environments, and configuration export and apply for controlled settings changes. Keep the WebUI or another operational tool available for vulnerability dashboards, garbage collection, distribution, and job service dashboards.

Technical notes+

README.md documents container, Homebrew, APT, Debian, RPM, and Alpine installation surfaces, plus XDG-aware configuration precedence and JSON or YAML output. go.mod identifies a Go module using Cobra, Viper, the Harbor Go client, Bubble Tea ecosystem packages, keyring support, and YAML libraries. doc/cli-config/_index.md describes multiple credential contexts and AES-GCM password protection. doc/cli-docs/harbor-login.md supports password input through stdin, while doc/cli-docs/harbor-logs.md documents pagination, filtering, sorting, and follow mode. doc/cli-docs/harbor-config.md covers viewing, exporting, and applying Harbor system settings.

Observed

License
Apache License 2.0
Primary language
Go
Interface
Command-line interface
Install surfaces
Container image, Homebrew, APT, Debian, RPM, Alpine, release artifacts, and source builds
Platform support
Linux, macOS, and Windows
Output formats
Table output with documented JSON, YAML, and CSV support

Read from README.md, go.mod, doc/README.md, doc/_index.md, doc/cli-docs/_index.md, doc/cli-config/_index.md, doc/cli-docs/harbor-info.md, doc/cli-docs/harbor-ldap.md, doc/cli-docs/harbor-logs.md, doc/cli-docs/harbor-label.md, doc/cli-docs/harbor-login.md, doc/cli-docs/harbor-quota.md, doc/cli-docs/harbor-config.md, doc/cli-docs/harbor-health.md, doc/cli-docs/harbor-logout.md.

What it can do

  • Push container images to Harbor registry

    Container image and registry credentialsImage stored in Harbor registry

  • Pull container images from Harbor registry

    Image name and registry locationDownloaded container image

  • List available images in Harbor registry

    Registry connection detailsList of container images and metadata

  • Delete container images from Harbor registry

    Image name and authentication credentialsConfirmation of image deletion

  • Create and manage Harbor projects

    Project configuration and user credentialsNew project in Harbor registry

  • Scan container images for vulnerabilities

    Container image in Harbor registryVulnerability scan report

  • Configure Harbor registry settings

    Configuration parameters and admin credentialsUpdated registry configuration

Tags

harborcontainer-registryclidevops

Tech Stack

Go

Comments (0)

No comments yet

Editorially curated, with community endorsements as a secondary signal. Corrections welcome.