全部產品
Search
文件中心

Container Compute Service:使用VPC方式加速拉取AI容器鏡像

更新時間:Nov 29, 2025

ACS容器鏡像提供的是標準的Internet服務,您在ACS雲產品上啟動任務時需要通過公網拉取鏡像,鏡像拉取費時較多。目前ACS雲產品提供了IN-VPC的鏡像訪問服務,在適用的情境下建議您盡量使用IN-VPC的方式,加速拉取AI容器鏡像。

情境定義

適用情境

  • 適用於所有ACS產品環境(非ACS環境不支援IN-VPC使用)。

  • 適用於使用ACS產品控制台(通過建立工作負載介面的製品中心頁面選取,或者通過YAML檔案指定鏡像引用)直接建立Pod的情境。

不適用的情境

  • 非ACS情境需要沿用之前的方式,通過公網拉取AI容器鏡像。

如何使用

使用範圍

所有在egslingjun-registry.cn-wulanchabu.cr.aliyuncs.com/egslingjun倉庫中存量和新增的ACS AI容器鏡像都支援IN-VPC拉取。

使用方式

將指定的AI容器鏡像Asset URIegslingjun-registry.cn-wulanchabu.cr.aliyuncs.com/egslingjun/{image:tag}替換為acs-registry-vpc.{region-id}.cr.aliyuncs.com/egslingjun/{image:tag}即可在VPC內快速拉取ACS AI容器鏡像。

  • {region-id}:ACS產品開服地區的地區ID。例如:cn-beijingcn-wulanchabu等。

  • {image:tag}:AI容器鏡像的名稱和Tag。例如:inference-nv-pytorch:25.10-vllm0.11.0-pytorch2.8-cu128-20251028-serverlesstraining-nv-pytorch:25.10-serverless等。

使用樣本

之前通過公網拉取的AI容器鏡像Asset URI:

egslingjun-registry.cn-wulanchabu.cr.aliyuncs.com/egslingjun/training-nv-pytorch:25.10-serverless

替換為新的支援IN-VPC加速拉取的AI容器鏡像Asset URI:

# 在華北2(北京)地區使用ACS產品
acs-registry-vpc.cn-beijing.cr.aliyuncs.com/egslingjun/training-nv-pytorch:25.10-serverless

# 在華北6(烏蘭察布)地區使用ACS產品
acs-registry-vpc.cn-wulanchabu.cr.aliyuncs.com/egslingjun/training-nv-pytorch:25.10-serverless
說明

egslingjun-registry.cn-wulanchabu.cr.aliyuncs.com/egslingjun/{image:tag}鏡像仍然支援通過公網拉取。