1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
1
We can use the AWS CLI to find the size of all the layers in an ECR image without pulling down the layers using below ECR CLI command:
aws ecr batch-get-image --repository-name <repo-name> --image-ids imageDigest-<image-digest' --region <region>
To find out image digest run use below ECR CLI command:
aws ecr list-images --repository-name <repo-name> --region <region>
We can also use the command below to achive that. docker buildx imagetools inspect --raw $IMAGE_NAME:$IMAGE_TAG Installation guide : https://docs.docker.com/build/install-buildx/ Command documentation : https://docs.docker.com/engine/reference/commandline/buildx_imagetools_inspect/
répondu il y a un an
Contenus pertinents
- demandé il y a un an
- demandé il y a 2 mois
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 4 mois