aws ecr batch-delete-image
(Redirected from Batch-delete-image)
Jump to navigation
Jump to search
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ecr/batch-delete-image.html
aws ecr batch-delete-image --repository-name ubuntu --image-ids imageDigest=digest_from_image
aws ecr batch-delete-image \ --repository-name ubuntu \ --image-ids imageTag=precise
aws ecr batch-delete-image \ --repository-name ubuntu \ --image-ids imageDigest=digest_from_image
aws ecr batch-delete-image --repository-name your-repo --image-ids imageDigest=sha256:1231432434543545645756858
Related[edit]
for REPOS in `aws ecr describe-repositories --output text | awk '{print $6}' | grep .`; do aws ecr describe-images --repository-name $REPOS; done
See also[edit]
Advertising: