You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: articles/container-registry/container-registry-tutorial-deploy-update.md
+28-28
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,7 @@ If you've not yet configured the two *Web App for Containers* regional deploymen
37
37
38
38
In this step, make a change to the web application that will be highly visible once you push the updated container image to Azure Container Registry.
39
39
40
-
Find the `AcrHelloworld/Views/Home/Index.cshtml` file in the application source you [cloned from GitHub](container-registry-tutorial-prepare-registry.md#get-application-code) in a previous tutorial and open it in your favorite text editor. Add the following line above the `<img>` line:
40
+
Find the `AcrHelloworld/Views/Home/Index.cshtml` file in the application source you [cloned from GitHub](container-registry-tutorial-prepare-registry.md#get-application-code) in a previous tutorial and open it in your favorite text editor. Add the following line below the existing `<h1>` line:
41
41
42
42
```html
43
43
<h1>MODIFIED</h1>
@@ -49,15 +49,27 @@ Your modified `Index.cshtml` should look similar to:
Before deploying to Azure Container Registry, run the image locally to verify the build was successful.
74
-
75
-
```bash
76
-
docker run -d -p 8080:80 <acrName>.azurecr.io/acr-helloworld:v1
77
-
```
78
-
79
-
Navigate to http://localhost:8080 in your web browser to confirm that the container is up and running, and your modification is displayed.
80
-
81
-
![LOCAL CONTAINER IMAGE][local-container-01]
82
-
83
83
## Push image to Azure Container Registry
84
84
85
85
Now, push the updated *acr-helloworld* container image to your geo-replicated registry. Here, you're executing a single `docker push` command to deploy the updated image to the registry replicas in both the *West US* and *East US* regions.
@@ -92,14 +92,14 @@ Output should appear similar to the following:
92
92
93
93
```bash
94
94
The push refers to a repository [uniqueregistryname.azurecr.io/acr-helloworld]
0 commit comments