全部产品
Search
文档中心

函数计算:CustomContainerConfig

更新时间:Aug 28, 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