ECR
Container registry — repositories, images, layer uploads, lifecycle policies, pull-through cache rules.
Quick start
import boto3
ecr = boto3.client("ecr", endpoint_url="http://localhost:4566",
region_name="us-east-1",
aws_access_key_id="test", aws_secret_access_key="test")
ecr.create_repository(repositoryName="app")
Supported operations
26 operations exposed by this service as of MiniStack 1.3.14. Extracted directly from the handler dispatch in the source module.
BatchCheckLayerAvailability
BatchDeleteImage
BatchGetImage
CompleteLayerUpload
CreateRepository
DeleteLifecyclePolicy
DeleteRepository
DeleteRepositoryPolicy
DescribeImages
DescribeRegistry
DescribeRepositories
GetAuthorizationToken
GetDownloadUrlForLayer
GetLifecyclePolicy
GetRepositoryPolicy
InitiateLayerUpload
ListImages
ListTagsForResource
PutImage
PutImageScanningConfiguration
PutImageTagMutability
PutLifecyclePolicy
SetRepositoryPolicy
TagResource
UntagResource
UploadLayerPart
CloudFormation
The CloudFormation engine provisions these resource types via this service:
AWS::ECR::Repository
See CloudFormation engine for intrinsic support and lifecycle details.
Known limitations
- Image scanning returns empty findings — no real scanner is invoked.
- GetAuthorizationToken returns a fixed token; Docker login works against MiniStack but the token has no AWS meaning.
Source
ministack/services/ecr.py:83-143
Read the source to verify the ops list above — dispatch tables and handler functions are the ground truth.