Skip to content

Commit a2c5eb8

Browse files
authored
Update how-to-manage-environments-v2.md
1 parent 038e2a6 commit a2c5eb8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/machine-learning/how-to-manage-environments-v2.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,9 @@ ml_client.environments.create_or_update(env_docker_image)
136136

137137
Instead of defining an environment from a prebuilt image, you can also define one from a Docker [build context](https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#understand-build-context). To do so, specify the directory that will serve as the build context. This directory should contain a Dockerfile and any other files needed to build the image.
138138

139+
> [!NOTE]
140+
> Uploading a Dockerfile larger than 1MB is currently unsupported.
141+
139142
# [Azure CLI](#tab/cli)
140143

141144
The following example is a YAML specification file for an environment defined from a build context. The local path to the build context folder is specified in the `build.path` field, and the relative path to the Dockerfile within that build context folder is specified in the `build.dockerfile_path` field. If `build.dockerfile_path` is omitted in the YAML file, Azure Machine Learning will look for a Dockerfile named `Dockerfile` at the root of the build context.
@@ -167,9 +170,6 @@ ml_client.environments.create_or_update(env_docker_context)
167170

168171
Azure Machine Learning will start building the image from the build context when the environment is created. You can monitor the status of the build and view the build logs in the studio UI.
169172

170-
> [!NOTE]
171-
> Uploading a Dockerfile larger than 1MB is currently unsupported.
172-
173173
### Create an environment from a conda specification
174174

175175
You can define an environment using a standard conda YAML configuration file that includes the dependencies for the conda environment. See [Creating an environment manually](https://conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html#creating-an-environment-file-manually) for information on this standard format.

0 commit comments

Comments
 (0)