| Modifier and Type | Method and Description |
|---|---|
TaskContainerSettings |
StartTask.containerSettings()
Get when this is specified, all directories recursively below the AZ_BATCH_NODE_ROOT_DIR (the root of Azure Batch directories on the node) are mapped into the container, all task environment variables are mapped into the container, and the task command line is executed in the container.
|
TaskContainerSettings |
TaskContainerSettings.withContainerRunOptions(String containerRunOptions)
Set these additional options are supplied as arguments to the "docker create" command, in addition to those controlled by the Batch Service.
|
TaskContainerSettings |
TaskContainerSettings.withImageName(String imageName)
Set this is the full image reference, as would be specified to "docker pull".
|
TaskContainerSettings |
TaskContainerSettings.withRegistry(ContainerRegistry registry)
Set this setting can be omitted if was already provided at pool creation.
|
TaskContainerSettings |
TaskContainerSettings.withWorkingDirectory(ContainerWorkingDirectory workingDirectory)
Set possible values include: 'TaskWorkingDirectory', 'ContainerImageDefault'.
|
| Modifier and Type | Method and Description |
|---|---|
StartTask |
StartTask.withContainerSettings(TaskContainerSettings containerSettings)
Set when this is specified, all directories recursively below the AZ_BATCH_NODE_ROOT_DIR (the root of Azure Batch directories on the node) are mapped into the container, all task environment variables are mapped into the container, and the task command line is executed in the container.
|
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/