registry

1、列出docker registry下的所有容器仓库

curl https://`hostname`:5000/v2/_catalog -u username:password -k -s  | jq

查询结果示例:

返回的是该docker registry中的所有容器仓库

{
  "repositories": [
    "diamond/gpu-admission",
    "diamond/gpu-manager",
    "diamond/stpu-device-plugin",
    "diamond/stpu-exporter",
    "diamond/vgpu-mutating-admission-webhook",
    "diamond-dev/netchecker",
    "docker.io/solsson/burrow",
..........

2、列出某个仓库下的所有tags

PS:Example-Repository/Example-Images为容器仓库名称

下列命令的含义是列出Example-Repository仓库下Example-Images这个镜像的所有tag

curl https://`hostname`:5000/v2/Example-Repository/Example-Images/tags/list -u username:password -k -s  | jq

查询结果示例:

{
  "name": "Example-Repository/Example-Images",
  "tags": [
    "v4.0.0-a926e2a-amd64-stpu",
    "v3.2.0-8edb68d-amd64-cuda11",
    "V4.2.0-081a233-amd64-cuda11",
    "V4.2.0-681cac5-amd64",
    "v3.2.0-2877f44-amd64-cuda11",
    "v4.1.0.dirty-e685744-amd64-mlu270",
    "V4.2.0-8cdfda3-amd64-cuda11"
  ]
}
posted @   打倒资本主义  阅读(146)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 阿里最新开源QwQ-32B,效果媲美deepseek-r1满血版,部署成本又又又降低了!
· AI编程工具终极对决:字节Trae VS Cursor,谁才是开发者新宠?
· 开源Multi-agent AI智能体框架aevatar.ai,欢迎大家贡献代码
· Manus重磅发布:全球首款通用AI代理技术深度解析与实战指南
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
点击右上角即可分享
微信分享提示