@@ -5,7 +5,7 @@ services: container-apps
5
5
author : asw101
6
6
ms.service : azure-container-apps
7
7
ms.topic : conceptual
8
- ms.date : 09/29/2022
8
+ ms.date : 08/21/2024
9
9
ms.author : aawislan
10
10
ms.custom : devx-track-azurecli, devx-track-azurepowershell
11
11
ms.devlang : azurecli
@@ -262,6 +262,8 @@ az containerapp create \
262
262
--env-vars 'APP_PORT=3000'
263
263
` ` `
264
264
265
+ If you're using an Azure Container Registry, include the `--registry-server <REGISTRY_NAME>.azurecr.io` flag in the command.
266
+
265
267
# [Azure PowerShell](#tab/azure-powershell)
266
268
267
269
` ` ` azurepowershell-interactive
@@ -295,6 +297,8 @@ $ServiceArgs = @{
295
297
New-AzContainerApp @ServiceArgs
296
298
` ` `
297
299
300
+ If you're using an Azure Container Registry, include the `RegistryServer = '<REGISTRY_NAME>.azurecr.io'` flag in the command.
301
+
298
302
---
299
303
300
304
By default, the image is pulled from [Docker Hub](https://hub.docker.com/r/dapriosamples/hello-k8s-node).
@@ -317,6 +321,8 @@ az containerapp create \
317
321
--dapr-app-id pythonapp
318
322
` ` `
319
323
324
+ If you're using an Azure Container Registry, include the `--registry-server <REGISTRY_NAME>.azurecr.io` flag in the command.
325
+
320
326
# [Azure PowerShell](#tab/azure-powershell)
321
327
322
328
` ` ` azurepowershell-interactive
@@ -343,6 +349,8 @@ $ClientArgs = @{
343
349
New-AzContainerApp @ClientArgs
344
350
` ` `
345
351
352
+ If you're using an Azure Container Registry, include the `RegistryServer = '<REGISTRY_NAME>.azurecr.io'` flag in the command.
353
+
346
354
---
347
355
348
356
# # Verify the results
0 commit comments