

本文属于机器翻译版本。若本译文内容与英语原文存在差异，则一律以英文原文为准。

# 如何选择基础映像 URI 的详细信息
<a name="docker-custom-images-tag"></a>

**注意**  
对于 Amazon EMR 6.9.0 版本及更高版本，您可以从 Amazon ECR Public Gallery 中检索基础映像，因此您无需按照本页上的说明构造基础映像 URI。要查找基础映像的容器映像标签，请参阅 Amazon EMR on EKS 相应版本的[发布说明页面](emr-eks-releases.md)。

所选基础 Docker 映像存储在 Amazon Elastic Container Registry（Amazon ECR）。镜像 URI 遵循此格式：`ECR-registry-account.dkr.ecr.Region.amazonaws.com/spark/container-image-tag`，如下面的示例所示。

```
895885662937.dkr.ecr.us-west-2.amazonaws.com/spark/emr-7.12.0:latest
```

适用于交互式端点的映像 URI 遵循此格式：`ECR-registry-account.dkr.ecr.Region.amazonaws.com/notebook-spark/container-image-tag`，如以下示例所示。您需要在基本镜像 URI 中使用 `notebook-spark`，而不是 `spark`。

```
895885662937.dkr.ecr.us-west-2.amazonaws.com/notebook-spark/emr-7.12.0:latest
```

同样，对于交互式端点的非 Spark `python3` 映像，映像 URI 为 `ECR-registry-account.dkr.ecr.Region.amazonaws.com/notebook-python/container-image-tag`。以下示例 URI 格式正确：

```
895885662937.dkr.ecr.us-west-2.amazonaws.com/notebook-python/emr-7.12.0:latest
```

要查找基础映像的容器映像标签，请参阅 Amazon EMR on EKS 相应版本的[发布说明页面](emr-eks-releases.md)。

## 按区域划分的 Amazon ECR 注册账户
<a name="docker-custom-images-ECR"></a>

为避免高网络延迟，请从离您最近的位置提取基础映像 AWS 区域。根据下表，选择与您从中拉取映像区域对应的 Amazon ECR 注册账户。


| Regions | Amazon ECR 注册账户 | 
| --- | --- | 
| ap-east-1 | 736135916053 | 
| ap-northeast-1 | 059004520145 | 
| ap-northeast-2 | 996579266876 | 
| ap-northeast-3 | 705689932349 | 
| ap-southeast-3 | 946962994502 | 
| ap-south-1 | 235914868574 | 
| ap-south-2 | 691480105545 | 
| ap-southeast-1 | 671219180197 | 
| ap-southeast-2 | 038297999601 | 
| ca-central-1 | 351826393999 | 
| eu-central-1 | 107292555468 | 
| eu-central-2 | 314408114945 | 
| eu-north-1 | 830386416364 | 
| eu-west-1 | 483788554619 | 
| eu-west-2 | 118780647275 | 
| eu-west-3 | 307523725174 | 
| eu-south-1 | 238014973495 | 
| eu-south-2 | 350796622945 | 
|  il-central-1 | 395734710648 | 
| me-south-1 | 008085056818 | 
| me-central-1 | 818935616732 | 
| sa-east-1 | 052806832358 | 
| us-gov-west-1 | 299385240661 | 
| us-gov-east-1 | 299393998622 | 
| us-east-1 | 755674844232 | 
| us-east-2 | 711395599931 | 
| us-west-1 | 608033475327 | 
| us-west-2 | 895885662937 | 
| af-south-1 | 358491847878 | 
| cn-north-1 | 068337069695 | 
| cn-northwest-1 | 068420816659 | 