ContainersDocker
Choosing a container registry: ECR, ACR, Artifact Registry, Harbor or JFrog
All five registries in this comparison store container images. Their documentation shows where they differ: how clients authenticate, what gets scanned, how images are replicated and cleaned up, and how public images are cached.

What to compare
Read each registry's documentation for these nine points:
- Location. Where the registry runs relative to your clusters.
- Identity integration. How nodes, pipelines and people authenticate.
- Scanning. Which scanner runs, what it covers and when.
- Replication. Across regions, accounts or other registries.
- Retention policies. Rules that delete images you no longer need.
- Tag immutability. Whether a tag can be overwritten.
- Pull-through cache. A proxy that caches images from public registries.
- Other artifact types. Helm charts, signatures and SBOMs.
- Cost model. What you are billed for.
The three cloud registries
Amazon ECR offers private repositories whose resource-based permissions are managed in AWS IAM. Its feature list names lifecycle policies that you can test before applying them, image scanning, cross-Region and cross-account replication, pull through cache rules and managed signing. Scanning has two types: basic scanning for operating system vulnerabilities, and enhanced scanning, which uses Amazon Inspector and covers operating system and programming language packages. Pull through cache rules support Docker Hub, Quay, GitHub Container Registry and other upstream registries. You pay for the data you store, data transfer and the image actions you opt in to.
Azure Container Registry has three tiers: Basic, Standard and Premium. All three support authentication with Microsoft Entra ID, and Azure role-based access control assigns permissions. Geo-replication is a feature of Premium registries. Microsoft Defender for Cloud optionally scans images when you push them. Artifact cache is available in all three tiers. A tagged image is mutable by default, and you lock an image or a repository with az acr repository update. The registry also stores Helm charts and images built to the OCI Image Format Specification.
Google Artifact Registry associates each repository with one artifact format and a regional or multi-regional location. Its Docker format stores container images and Helm charts packaged in OCI format, and other formats include Maven, npm and Python. Identity and Access Management controls access. With automatic scanning enabled, Artifact Analysis scans every image you push, application language packages included. Remote repositories cache artifacts from upstream sources such as Docker Hub, and virtual repositories are a single access point for several repositories. Cleanup policies delete artifact versions or keep them.
Harbor and JFrog Artifactory
Harbor is an open source registry and a CNCF Graduated project. It can be installed on any Kubernetes environment and on any system that supports Docker. Users authenticate through its own database, LDAP or Active Directory, or an OIDC provider. Harbor scans images with Trivy if Trivy was enabled at installation. Replication works between Harbor and non-Harbor registries, in pull or push mode. Proxy cache projects support Docker Hub, Amazon ECR, Azure Container Registry, Quay and others. Tag retention rules and tag immutability rules are both defined per project.
JFrog Artifactory documents three kinds of repository: local repositories for your own packages, remote repositories that download from external registries, and virtual repositories that aggregate both behind a single URL. It is OCI-compliant, and its package types go beyond containers: the documentation names Maven, npm and PyPI. JFrog Xray is the software composition analysis tool that integrates with Artifactory. JFrog Container Registry is the free, self-managed edition. It is limited to container and Helm workflows and does not include Xray, high availability or repository replication.
Docker Hub pull limits and mirrors
Docker Hub applies a pull rate limit per 6 hours: 100 pulls for unauthenticated users, counted per IPv4 address or IPv6 /64 subnet, and 200 for authenticated Docker Personal users. Pro, Team and Business users have an unlimited pull rate, subject to fair use. Past the limit, a request for the manifest gets a 429 response code from Docker Hub.
Each of the five registries documents a cache for Docker Hub images: pull through cache rules in ECR, artifact cache in ACR, remote repositories in Artifact Registry, proxy cache projects in Harbor and remote repositories in Artifactory. Microsoft's page says artifact cache addresses the pull limits imposed by public registries. For Docker Hub as an upstream, ECR requires credentials and ACR supports authenticated pulls only.
How to decide
- Create the registry where the workloads run. Google says a repository in the same region as your workloads reduces latency and network egress costs. Microsoft tells you to create the registry in the same Azure location as your deployments.
- If your clusters run in more than one place, read the replication pages. ECR replicates across Regions and accounts, ACR geo-replication needs the Premium tier, and Harbor replicates to and from non-Harbor registries.
- If one tool should hold all your package types, Artifactory and Artifact Registry both document formats beyond containers.
- Set what is off by default. ACR and Harbor document that a tag can be pushed again by default. Artifact Registry tags can be moved unless you pass
--immutable-tags. ACR has no retention policy for untagged manifests by default. - Put a cache in front of Docker Hub before unauthenticated pulls reach 100 per 6 hours per address.
Sources
Want a second pair of eyes on yours? We do this work for a living.
More guides

Image tags and digests: why latest breaks deploys
Containers · 4 min read
Tags move and digests do not, so tag by commit and version, deploy by digest and keep pins current.

Scan container images with Trivy in CI
Supply chain · 4 min read
The flags, the ignore file, the pinned action and the limits of scanning an image with Trivy.

SBOMs: generate one for every build
Supply chain · 3 min read
Generate an SBOM in CI, attest it to the image, scan it with Grype and keep it with the release.