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/app-service/configure-custom-container.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -64,7 +64,7 @@ It takes some time to download a parent image during app startup. You can reduce
64
64
Use the following command to change the current Docker image to a new image in an existing custom container:
65
65
66
66
```azurecli-interactive
67
-
az webapp config container set --name <app-name> --resource-group <group-name> --docker-custom-image-name <docker-hub-repo>/<image>
67
+
az webapp config container set --name <app-name> --resource-group <group-name> --container-image-name <docker-hub-repo>/<image>
68
68
```
69
69
70
70
Replace the *\<placeholders>* with your own values.
@@ -74,7 +74,7 @@ Replace the *\<placeholders>* with your own values.
74
74
To use an image from a private registry, such as Azure Container Registry, run the following command:
75
75
76
76
```azurecli-interactive
77
-
az webapp config container set --name <app-name> --resource-group <group-name> --docker-custom-image-name <image-name> --docker-registry-server-url <private-repo-url> --docker-registry-server-user <username> --docker-registry-server-password <password>
77
+
az webapp config container set --name <app-name> --resource-group <group-name> --container-image-name <image-name> --docker-registry-server-url <private-repo-url> --docker-registry-server-user <username> --docker-registry-server-password <password>
78
78
```
79
79
80
80
Supply the sign-in credentials for your private registry account in the *\<username>* and *\<password>* fields.
@@ -83,13 +83,13 @@ Supply the sign-in credentials for your private registry account in the *\<usern
83
83
84
84
Use the following steps to configure your web app to pull from Azure Container Registry by using managed identity. The steps use system-assigned managed identity, but you can also use user-assigned managed identity.
85
85
86
-
1. Enable [the system-assigned managed identity](./overview-managed-identity.md) for the web app by using the [`az webapp identity assign`](/cli/azure/webapp/identity#az-webapp-identity-assign) command:
86
+
1. Enable the [system-assigned managed identity](./overview-managed-identity.md) for the web app by using the [`az webapp identity assign`](/cli/azure/webapp/identity#az-webapp-identity-assign) command:
Replace *\<app-name>* with the name you used in the previous step. The output of the command, filtered by the `--query` and `--output` arguments, is the service principal ID of the assigned identity.
92
+
Replace *\<app-name>* with the name of your app. The output of the command, filtered by the `--query` and `--output` arguments, is the service principal ID of the assigned identity.
93
93
94
94
1. Get the resource ID of your container registry:
0 commit comments