curl 访问harbor v2.2.2 api

健康检查

curl  -u "admin:Harbor12345"  -X GET -H "Content-Type: application/json" "http://192.168.56.104/api/v2.0/health"

搜索镜像

curl  -u "admin:Harbor12345"  -X GET -H "Content-Type: application/json" "http://192.168.56.104/api/v2.0/search?q=hi"
上一篇:使用Harbor搭建Docker私有仓库


下一篇:往harbor上传镜像