Azure / Azure/azureml-examples

Do cli 2.0 allow image host not under "mcr.microsoft.com"?

Open
#1,471 0 comments 0 reactions 0 assignees View on GitHub
example issue
Dominant language
Jupyter Notebook
Stars
2k
Forks
1.7k
Avg merge
18h 18m
Merged PRs (30d)
2

Description

## Which example? Describe the issue

example:

Host of image is under mcr.microsoft.com
> $schema: https://azuremlschemas.azureedge.net/latest/environment.schema.json
name: docker-image-plus-conda-example
image: mcr.microsoft.com/azureml/openmpi3.1.2-ubuntu18.04
conda_file: conda-yamls/pydata.yml
description: Environment created from a Docker image plus Conda environment.

Host of image is not under mcr.microsoft.com
> $schema: https://azuremlschemas.azureedge.net/latest/environment.schema.json
name: docker-image-plus-conda-example
image: viennaglobal.azurecr.io/azureml/azureml_fea03cf22bb20f3ab9b04972a025e9d3
conda_file: conda-yamls/pydata.yml
description: Environment created from a Docker image plus Conda environment.

description:
![截圖 2022-07-09 22 55 07](https://user-images.githubusercontent.com/19547472/178111042-907e60b3-d398-4d73-908d-d16a3738fade.png)

Sometimes I want to create customized environment by using the curated environment as my base image.
Can I replace image like this screenshot environment "viennaglobal.azurecr.io/azureml/azureml_fea03cf22bb20f3ab9b04972a025e9d3" ?

HOW can I set the curated environments container registry as my base image that registry is not under "microsoft.com" ?

## Additional context

-

Contributor guide

Open the contributing guide

Research direction

Start with the Azure ML environment.schema.json reference and the example using conda-yamls/pydata.yml, then investigate how Azure ML CLI 2.0 handles image registry hosts. Done means establishing whether a curated environment image from viennaglobal.azurecr.io can be used as a base image and documenting or demonstrating the supported configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, docker, yaml
Domain
cli, cloud, machine-learning
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.