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/azure-app-configuration/quickstart-container-apps.md
+12-28Lines changed: 12 additions & 28 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -80,7 +80,15 @@ Create an Azure Container Registry (ACR). ACR enables you to build, store, and m
80
80
81
81
#### [Azure CLI](#tab/azure-cli)
82
82
83
-
1. Create an ACR instance following the [Azure Container Registry quickstart](/azure/container-registry/container-registry-get-started-azure-cli).
83
+
1. Create an ACR instance using the following command. It creates a basic tier registry named *myregistry* with admin user enabled that allows the container app to connect to the registry using admin user credentials. For more information, see [Azure Container Registry quickstart](/azure/container-registry/container-registry-get-started-azure-cli).
84
+
85
+
```azurecli
86
+
az acr create
87
+
--resource-group AppConfigTestResources \
88
+
--name myregistry \
89
+
--admin-enabled true \
90
+
--sku Basic
91
+
```
84
92
1. In the command output, take note of the ACR login server value listed after `loginServer`.
85
93
1. Retrieve the ACR username and password by running `az acr credential show --name myregistry`. You'll need these values later.
86
94
@@ -129,9 +137,7 @@ Push the Docker image to the ACR created earlier.
129
137
130
138
Update your Container App to load the container image from your ACR.
131
139
132
-
#### [Portal](#tab/azure-portal)
133
-
134
-
1. Open your Azure Container Apps instance.
140
+
1. In the Azure portal, open your Azure Container Apps instance.
135
141
1. In the left menu, under **Application**, select **Containers**.
136
142
1. Select **Edit and deploy**.
137
143
1. Under **Container image**, click on the name of the existing container image.
@@ -147,27 +153,6 @@ Update your Container App to load the container image from your ACR.
147
153
148
154
1. Select **Save** and then **Create** to deploy the update to Azure Container App.
149
155
150
-
#### [Azure CLI](#tab/azure-cli)
151
-
152
-
When running the [az containerapp update](/cli/azure/containerapp#az-containerapp-update) command, refer to the following example:
0 commit comments