全部產品
Search
文件中心

Function Compute:CustomContainerConfig

更新時間:Feb 26, 2026

名稱

類型

描述

樣本值

object

自訂容器運行時的配置資訊。

accelerationInfo AccelerationInfo

鏡像加速資訊。

accelerationType

string

是否開啟鏡像加速。Default 表示開啟鏡像加速,None 表示關閉鏡像加速。

Default

acrInstanceId

string

ACR 企業版鏡像倉庫 ID,使用 ACR 企業版鏡像時須傳入。

cri-xxxxxxxxxx

command

array

容器啟動參數。

string

啟動參數。

arg1

entrypoint

array

容器啟動命令。

string

啟動命令。

/code/bootstrap

healthCheckConfig CustomHealthCheckConfig

函數自訂健全狀態檢查配置。

image

string

容器鏡像地址。

registry-vpc.cn-hangzhou.aliyuncs.com/fc-demo/helloworld:v1beta1

port

integer

自訂容器運行時 HTTP Server 的監聽連接埠。

9000

registryConfig RegistryConfig

registry related

resolvedImageUri

string

所部署的鏡像的實際 digest 版本,函數啟動時實際使用此 digest 指定的代碼版本。由 GetFunction 時返回,作為參數時無需提供。

stand-sh-registry-vpc.cn-shanghai.cr.aliyuncs.com/fc-demo2/springboot-helloworld@sha256:68d1****0d64d6