如何使用AWS CLI检查图像在ECR中是否存在,给出它的URI如下:
xxxxxxxxxxxx.dkr.ecr.us-west-2.amazonaws.com/ai-api:2022-08-25T23-10-58-main
我尝试过参数为describe-images的--image-ids,但它只能接受--image-ids imageDigest=string,imageTag=string ...,而不是URI选项。
您是否有一个脚本可以通过URI检查ECR映像是否存在?
发布于 2022-09-16 03:40:49
尝试使用AWS CLI是一种错误的方式。
我们应该使用docker manifest inspect来检查图像是否存在。
https://stackoverflow.com/questions/73738213
复制相似问题