你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
TaskContainerSettings interface
The container settings for a task.
Properties
container |
If this array is null or be not present, container task will mount entire temporary disk drive in windows (or AZ_BATCH_NODE_ROOT_DIR in Linux). It won't' mount any data paths into container if this array is set as empty. |
container |
These additional options are supplied as arguments to the "docker create" command, in addition to those controlled by the Batch Service. |
image |
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. |
working |
A flag to indicate where the container task working directory is. The default is 'taskWorkingDirectory'. |
Property Details
containerHostBatchBindMounts
If this array is null or be not present, container task will mount entire temporary disk drive in windows (or AZ_BATCH_NODE_ROOT_DIR in Linux). It won't' mount any data paths into container if this array is set as empty.
containerHostBatchBindMounts?: ContainerHostBatchBindMountEntry[]
Property Value
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