container Module

Contains functionality for managing container images in Azure Machine Learning.

Classes

ContainerImage

Represents a container image, currently only for Docker images.

This class is DEPRECATED. Use the Environment class instead.

The image contains the dependencies needed to run the model including:

  • The runtime

  • Python environment definitions specified in a Conda file

  • Ability to enable GPU support

  • Custom Docker file for specific run commands

Image constructor.

This class is DEPRECATED. Use the Environment class instead.

Image constructor is used to retrieve a cloud representation of a Image object associated with the provided workspace. Will return an instance of a child class corresponding to the specific type of the retrieved Image object.

ContainerImageConfig

Defines Image configuration settings specific to Container deployments - requires execution script and runtime.

In typical use cases, you will use the image_configuration method of the ContainerImage class to create a ContainerImageConfig object.

Initialize the config object.