regctl

OCI Registry 命令行客户端

补充说明

regctl 直接操作兼容 OCI 的 registry,支持镜像复制、清单查看、标签管理和 OCI artifact。它不需要 Docker daemon,适合 CI 和制品仓库运维。

常用示例

regctl registry login registry.example.com -u user -p "$PASSWORD"
regctl repo ls registry.example.com
regctl tag ls registry.example.com/app
regctl image inspect registry.example.com/app:1.0
regctl image digest registry.example.com/app:1.0
regctl manifest get registry.example.com/app:1.0
regctl image copy registry.example.com/app:1.0 registry.example.com/app:stable
regctl artifact list registry.example.com/app:1.0
regctl image put registry.example.com/app:1.0 --file app.tar

易错点与排错

相关命令