Skip to content

Commit 07312ed

Browse files
authored
Update how-to-troubleshoot-environments.md
1 parent 5eb0858 commit 07312ed

File tree

1 file changed

+23
-6
lines changed

1 file changed

+23
-6
lines changed

articles/machine-learning/how-to-troubleshoot-environments.md

Lines changed: 23 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -535,12 +535,29 @@ If any of the above-listed properties are specified in your environment definiti
535535
* Python SDK v1 [Environment Class](https://aka.ms/azureml/environment/environment-class-v1)
536536

537537
### Location type not supported/Unknown location type
538-
- The following are accepted location types:
539-
- Git
540-
- Git URLs can be provided to AzureML, but images can't yet be built using them. Use a storage
541-
account until builds have Git support
542-
- [How to use git repository as build context](https://aka.ms/azureml/environment/git-repo-as-build-context)
543-
- Storage account
538+
<!--issueDescription-->
539+
**Potential causes:**
540+
* You specified a location type for your Docker build context that isn't supported or is unknown
541+
542+
**Affected areas (symptoms):**
543+
* Failure in registering your environment
544+
<!--/issueDescription-->
545+
546+
**Troubleshooting steps**
547+
548+
*Applies to: Python SDK v1*
549+
550+
The following are accepted location types:
551+
* Git
552+
* Git URLs can be provided to AzureML, but images can't yet be built using them. Use a storage account until builds have Git support
553+
* Storage account
554+
* The format of a blob storage URL is `https://<storage-account>.blob.core.windows.net`
555+
* See a [storage account overview](https://learn.microsoft.com/en-us/azure/storage/common/storage-account-overview)
556+
* See how to [create a storage account](https://learn.microsoft.com/en-us/azure/storage/common/storage-account-create)
557+
558+
**Resources**
559+
* See [DockerBuildContext Class](/python/api/azureml-core/azureml.core.environment.dockerbuildcontext)
560+
* [Understand build context](https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#understand-build-context)
544561

545562
### Invalid location
546563
- The specified location of the Docker build context is invalid

0 commit comments

Comments
 (0)