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

TaskContainerSettings interface

The container settings for a task.

Properties

containerRunOptions

These additional options are supplied as arguments to the "docker create" command, in addition to those controlled by the Batch Service.

imageName

This is the full image reference, as would be specified to "docker pull". If no tag is provided as part of the image name, the tag ":latest" is used as a default.

registry

This setting can be omitted if was already provided at pool creation.

workingDirectory

A flag to indicate where the container task working directory is. The default is 'taskWorkingDirectory'.

Property Details

containerRunOptions

These additional options are supplied as arguments to the "docker create" command, in addition to those controlled by the Batch Service.

containerRunOptions?: string

Property Value

string

imageName

This is the full image reference, as would be specified to "docker pull". If no tag is provided as part of the image name, the tag ":latest" is used as a default.

imageName: string

Property Value

string

registry

This setting can be omitted if was already provided at pool creation.

registry?: ContainerRegistry

Property Value

workingDirectory

A flag to indicate where the container task working directory is. The default is 'taskWorkingDirectory'.

workingDirectory?: ContainerWorkingDirectory

Property Value