Class ContainerSettings
java.lang.Object
com.microsoft.azure.management.batchai.ContainerSettings
Docker container settings.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet information about docker image and docker registry to download the container from.shmSize()
Get size of /dev/shm.withImageSourceRegistry
(ImageSourceRegistry imageSourceRegistry) Set information about docker image and docker registry to download the container from.withShmSize
(String shmSize) Set size of /dev/shm.
-
Constructor Details
-
ContainerSettings
public ContainerSettings()
-
-
Method Details
-
imageSourceRegistry
Get information about docker image and docker registry to download the container from.- Returns:
- the imageSourceRegistry value
-
withImageSourceRegistry
Set information about docker image and docker registry to download the container from.- Parameters:
imageSourceRegistry
- the imageSourceRegistry value to set- Returns:
- the ContainerSettings object itself.
-
shmSize
Get size of /dev/shm. Please refer to docker documentation for supported argument formats.- Returns:
- the shmSize value
-
withShmSize
Set size of /dev/shm. Please refer to docker documentation for supported argument formats.- Parameters:
shmSize
- the shmSize value to set- Returns:
- the ContainerSettings object itself.
-