I
InsightNexus

ContainerSettings (Azure SDK for Java Reference Documentation)

Author

Jessica Wood

Published Feb 16, 2026

ContainerSettings (Azure SDK for Java Reference Documentation)

  • public final class ContainerSettingsextends Object

    Docker container settings.

    • Constructor Detail

    • Method Detail

      • imageSourceRegistry

        public ImageSourceRegistry imageSourceRegistry()

        Get the imageSourceRegistry property: Information about docker image and docker registry to download the container from.

        Returns:
        the imageSourceRegistry value.
      • withImageSourceRegistry

        public ContainerSettings withImageSourceRegistry(ImageSourceRegistry imageSourceRegistry)

        Set the imageSourceRegistry property: 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

        public String shmSize()

        Get the shmSize property: Size of /dev/shm. Please refer to docker documentation for supported argument formats.

        Returns:
        the shmSize value.
      • withShmSize

        public ContainerSettings withShmSize(String shmSize)

        Set the shmSize property: 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.
      • validate

        public void validate()

        Validates the instance.

        Throws:
        IllegalArgumentException - thrown if the instance is not valid.

Copyright © 2021 Microsoft Corporation. All rights reserved.