curl -k -H “Content-Type: application/json” -H “X-Auth-Token: $TOKEN” -d ‘{“request”: {“tag”: “vtest.11”, “repository”: “docker.hanweb.com/project/jss/jszwfw/wuwei-test”, “scan_layers”: true}}’ “https://192.168.0.126:10443/v1/scan/repository”
调用api接口扫描本地镜像报错
{“code”:26,“error”:“Fail to scan repository”,“message”:“container API call error”}20220818_150021 [ooo] able to scan ubuntu:16.04 image: pass-0
另外问下API接口可以扫描本地服务器吗?