[英]Rest api to get Docker tag pull counts in arm artifactory
Is there any rest api to get the total number of pull counts of a docker image in arm artifactory是否有任何 rest api 来获取 docker 图像在 arm artifactory 中的拉取总数
You can use the File Statistics REST API .您可以使用文件统计 REST API 。 This returns the download count as part of the response.
这会将下载计数作为响应的一部分返回。 You will need to make the request against the manifest.json of a particular image since the way docker pulls work, only the manifest is guaranteed to be downloaded when a client requests an image.
您将需要针对特定图像的 manifest.json 发出请求,因为 docker 拉动工作的方式,只有当客户端请求图像时才能保证下载清单。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.