npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

plugin-docker-registry-ui

v1.0.0

Published

Browse, inspect and manage Docker Distribution Registry v2 and v3 images from NocoBase.

Readme

plugin-docker-registry-ui

Plugin NocoBase 2.x để duyệt, kiểm tra và quản lý Docker Distribution Registry qua API /v2/. Plugin hỗ trợ cả image registry:2registry:3 bằng cách phát hiện capability/media type thay vì phụ thuộc vào số phiên bản runtime.

Cài đặt

Build và đóng gói từ NocoBase source repository:

yarn nocobase build plugin-docker-registry-ui --no-dts
Set-Location packages/plugins/plugin-docker-registry-ui
npm pack

Upload file .tgz vào Plugin manager, hoặc enable package đã có trong source tree:

yarn pm enable plugin-docker-registry-ui

Thiết lập

Mở /admin/settings/docker-registry và cấu hình:

  • Internal Registry URL: URL mà NocoBase server truy cập được, ví dụ http://registry:5000 trong cùng Docker network.
  • Public Registry host: host được dùng để tạo lệnh docker pull/push, ví dụ registry.example.com.
  • Authentication: anonymous, basic hoặc static Bearer token.
  • TLS/mTLS: verify TLS, custom CA, client certificate/private key và passphrase.
  • Behavior: timeout, catalog page size, concurrency, auto refresh, raw manifest, Schema 1 và manifest delete.

Nút Test connection kiểm tra chính các giá trị chưa lưu trong form. Secret đã lưu không được trả lại browser; để giữ secret cũ, để trống field tương ứng.

Sử dụng

  • Registry browser: /docker-registry
  • Settings: /admin/settings/docker-registry
  • Guide trong ứng dụng: /admin/settings/docker-registry/guide

Luồng thông thường: tìm repository, mở danh sách tag, xem digest/size/platform/layers, rồi mở image detail để xem config, history, raw manifest và OCI referrers nếu Registry hỗ trợ.

Phân quyền

  • pm.docker-registry-ui.read: xem Registry, repository, tag và image detail.
  • pm.docker-registry-ui.delete: kiểm tra delete impact và xóa manifest.
  • pm.docker-registry-ui.manage: toàn bộ quyền read/delete/settings.
  • pm.docker-registry-ui: alias manage để tương thích cấu hình cũ.

Ngoài ACL snippet, role phải được cấp desktop route Docker Registry thì menu mới xuất hiện.

Registry 2 và Registry 3

| Chức năng | Registry 2 | Registry 3 | |---|---|---| | Catalog, tags, manifests, blobs | Có | Có | | Docker Schema 2 / OCI image / multi-architecture index | Có | Có | | OCI Referrers API | Có thể không hỗ trợ; UI tự ẩn | Hiển thị khi server hỗ trợ | | Xóa manifest theo digest | Cần bật delete trong Registry | Cần bật delete trong Registry |

Xóa một digest có thể ảnh hưởng nhiều tag. Plugin luôn kiểm tra các tag dùng chung digest, yêu cầu xác nhận riêng và từ chối xóa nếu digest đã đổi sau bước xác nhận. Garbage collection của Registry vẫn phải chạy riêng để thu hồi dung lượng vật lý.