1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
【以下的回答经过翻译处理】 我们可以使用AWS CLI命令来查找ECR镜像中所有层的大小,而不必下载这些层,命令如下:
aws ecr batch-get-image --repository-name <repo-name> --image-ids imageDigest-<image-digest' --region <region>
要查找镜像摘要,请使用以下ECR CLI命令:
aws ecr list-images --repository-name <repo-name> --region <region>
还可以使用以下命令来实现此目的: docker buildx imagetools inspect --raw $IMAGE_NAME:$IMAGE_TAG 安装指南:https://docs.docker.com/build/install-buildx/ 命令文档:https://docs.docker.com/engine/reference/commandline/buildx_imagetools_inspect/
Contenus pertinents
- demandé il y a 10 mois
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a un an