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