Jump to
- awslabs/amazon-ecr-credential-helper - Amazon ECR Docker Credential Helper
- gallery.ecr.aws - Amazon ECR Public Gallery
https://docs.aws.amazon.com/AmazonECR/latest/userguide/image-scanning.html
# Configure an existing repository to Scan on Push
aws ecr put-image-scanning-configuration --repository-name name --image-scanning-configuration scanOnPush=true --region ap-southeast-2
# Create a repository configured for scan on push
aws ecr create-repository --repository-name name --image-scanning-configuration scanOnPush=true --region ap-southeast-2
# Start image scan
aws ecr start-image-scan --repository-name name --image-id imageTag=tag_name --region ap-southeast-2
aws ecr start-image-scan --repository-name name --image-id imageDigest=sha256_hash --region ap-southeast-2
# Retrieve image scan findings
aws ecr describe-image-scan-findings --repository-name name --image-id imageTag=tag_name --region ap-southeast-2
aws ecr describe-image-scan-findings --repository-name name --image-id imageDigest=sha256_hash --region ap-southeast-2
ECR currently supports creating pull through cache rules for
- ECR Public (ECR Public Gallery);
- Quay (Red Hat Quay.io); and
- Kubernetes container image registry (registry.k8s.io).
in which Docker Official Images are available on ECR Public (only the images labelled with DOCKER OFFICIAL IMAGE; e.g. node).