Skip to content

Commit e451fe3

Browse files
authored
Merge pull request #38701 from mukulhase/patch-1
Mistake in custom docker image deployment snippet
2 parents 899ef2b + 167b615 commit e451fe3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/machine-learning/service/how-to-deploy-custom-docker-image.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -218,9 +218,9 @@ To use an image from a __private container registry__ that is not in your worksp
218218

219219
```python
220220
# Set the container registry information
221-
myenv.docker.base_image_repository.address = "myregistry.azurecr.io"
222-
myenv.docker.base_image_repository.username = "username"
223-
myenv.docker.base_image_repository.password = "password"
221+
myenv.docker.base_image_registry.address = "myregistry.azurecr.io"
222+
myenv.docker.base_image_registry.username = "username"
223+
myenv.docker.base_image_registry.password = "password"
224224
```
225225

226226
After defining the environment, use it with an [InferenceConfig](https://docs.microsoft.com/python/api/azureml-core/azureml.core.model.inferenceconfig?view=azure-ml-py) object to define the inference environment in which the model and web service will run.

0 commit comments

Comments
 (0)