Skip to content

Commit cf4885e

Browse files
authored
Merge pull request #113518 from Blackmist/fixing
updating per feedback
2 parents 5df122b + 07cc0c2 commit cf4885e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/machine-learning/how-to-deploy-app-service.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ package.wait_for_creation(show_output=True)
111111
print(package.location)
112112
```
113113
114-
When `show_output=True`, the output of the Docker build process is shown. Once the process finishes, the image has been created in the Azure Container Registry for your workspace. Once the image has been built, the location in your Azure Container Registry is displayed. The location returned is in the format `<acrinstance>.azurecr.io/package:<imagename>`. For example, `myml08024f78fd10.azurecr.io/package:20190827151241`.
114+
When `show_output=True`, the output of the Docker build process is shown. Once the process finishes, the image has been created in the Azure Container Registry for your workspace. Once the image has been built, the location in your Azure Container Registry is displayed. The location returned is in the format `<acrinstance>.azurecr.io/package@sha256:<imagename>`. For example, `myml08024f78fd10.azurecr.io/package@sha256:20190827151241`.
115115
116116
> [!IMPORTANT]
117117
> Save the location information, as it is used when deploying the image.
@@ -159,7 +159,7 @@ When `show_output=True`, the output of the Docker build process is shown. Once t
159159
1. To create the web app, use the following command. Replace `<app-name>` with the name you want to use. Replace `<acrinstance>` and `<imagename>` with the values from returned `package.location` earlier:
160160
161161
```azurecli-interactive
162-
az webapp create --resource-group myresourcegroup --plan myplanname --name <app-name> --deployment-container-image-name <acrinstance>.azurecr.io/package:<imagename>
162+
az webapp create --resource-group myresourcegroup --plan myplanname --name <app-name> --deployment-container-image-name <acrinstance>.azurecr.io/package@sha256:<imagename>
163163
```
164164
165165
This command returns information similar to the following JSON document:
@@ -188,7 +188,7 @@ When `show_output=True`, the output of the Docker build process is shown. Once t
188188
1. To provide the web app with the credentials needed to access the container registry, use the following command. Replace `<app-name>` with the name you want to use. Replace `<acrinstance>` and `<imagename>` with the values from returned `package.location` earlier. Replace `<username>` and `<password>` with the ACR login information retrieved earlier:
189189
190190
```azurecli-interactive
191-
az webapp config container set --name <app-name> --resource-group myresourcegroup --docker-custom-image-name <acrinstance>.azurecr.io/package:<imagename> --docker-registry-server-url https://<acrinstance>.azurecr.io --docker-registry-server-user <username> --docker-registry-server-password <password>
191+
az webapp config container set --name <app-name> --resource-group myresourcegroup --docker-custom-image-name <acrinstance>.azurecr.io/package@sha256:<imagename> --docker-registry-server-url https://<acrinstance>.azurecr.io --docker-registry-server-user <username> --docker-registry-server-password <password>
192192
```
193193
194194
This command returns information similar to the following JSON document:
@@ -217,7 +217,7 @@ When `show_output=True`, the output of the Docker build process is shown. Once t
217217
},
218218
{
219219
"name": "DOCKER_CUSTOM_IMAGE_NAME",
220-
"value": "DOCKER|myml08024f78fd10.azurecr.io/package:20190827195524"
220+
"value": "DOCKER|myml08024f78fd10.azurecr.io/package@sha256:20190827195524"
221221
}
222222
]
223223
```

0 commit comments

Comments
 (0)