你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

BaseContainer interface

容器应用基容器定义。

属性

args

容器启动命令参数。

command

容器启动命令。

env

容器环境变量。

image

容器映像标记。

name

自定义容器名称。

resources

容器资源要求。

volumeMounts

容器卷装载。

属性详细信息

args

容器启动命令参数。

args?: string[]

属性值

string[]

command

容器启动命令。

command?: string[]

属性值

string[]

env

容器环境变量。

env?: EnvironmentVar[]

属性值

image

容器映像标记。

image?: string

属性值

string

name

自定义容器名称。

name?: string

属性值

string

resources

容器资源要求。

resources?: ContainerResources

属性值

volumeMounts

容器卷装载。

volumeMounts?: VolumeMount[]

属性值