1 Respuesta
- Más nuevo
- Más votos
- Más comentarios
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/
respondido hace un año
Contenido relevante
- OFICIAL DE AWSActualizada hace 3 años
- OFICIAL DE AWSActualizada hace 3 años
- OFICIAL DE AWSActualizada hace 2 años