Compartir a través de


TaskContainerSettings interface

The container settings for a task.

Properties

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.

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

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

Property Value