All Products
Search
Document Center

Function Compute:CustomContainerConfig

Last Updated:Sep 14, 2024
ParameterTypeDescriptionExample
object

The configurations of the Custom Container runtime.

accelerationInfoAccelerationInfo

The information about image acceleration.

accelerationTypestring

Specifies whether to enable image acceleration. Valid values: Default: enables image acceleration. None: disables image acceleration.

default
acrInstanceIdstring

The ID of the image repository for the Container Registry Enterprise Edition. You must specify this parameter if you use an image of Container Registry Enterprise Edition.

cri-xxxxxxxxxx
commandarray

The startup parameter of the container.

string

The startup parameter.

arg1
entrypointarray

The container startup command.

string

The startup command.

/code/bootstrap
healthCheckConfigCustomHealthCheckConfig

The custom health check configurations of the function.

imagestring

The endpoint of the container image.

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

The port on which the HTTP server listens for the Custom Container runtime.

9000
registryConfigRegistryConfig

registry related

resolvedImageUristring

The actual digest version of the deployed image. The code version specified by digest is actually used when the function starts. This parameter is returned by GetFunction and is not required as a parameter.

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