- Newest
- Most votes
- Most comments
Hi,
Your question doesn't state which of the registry you want to be the upstream one: ECR or local.
So, if you want to your local one to be the upstream, ECR supports pull-through with upstream registries: see https://docs.aws.amazon.com/AmazonECR/latest/userguide/pull-through-cache.html for all details.
ECR supports rules for that: https://docs.aws.amazon.com/AmazonECR/latest/userguide/pull-through-cache-working.html Also have a look at https://docs.aws.amazon.com/cli/latest/reference/ecr/create-pull-through-cache-rule.html for corresponding CLI command
In 2021, AWS ECR announced support of public repos for pull-through: https://aws.amazon.com/blogs/aws/announcing-pull-through-cache-repositories-for-amazon-elastic-container-registry/
This support was extended very recently: https://aws.amazon.com/about-aws/whats-new/2023/11/amazon-ecr-pull-through-cache-additional-upstream-registries/
Best,
Didier
Relevant content
- Accepted Answerasked 4 months ago
- Accepted Answerasked 3 months ago
- Accepted Answerasked 2 months ago
- asked 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 3 months ago
local registry is upstream registry