Skip to content

Commit 0c7cc95

Browse files
Merge pull request #285111 from hhunter-ms/hh-286171
[Dapr/ACA] Add note with CLI flag when using ACR
2 parents 6b0d9b4 + 2d0b19c commit 0c7cc95

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

articles/container-apps/microservices-dapr.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ services: container-apps
55
author: asw101
66
ms.service: azure-container-apps
77
ms.topic: conceptual
8-
ms.date: 09/29/2022
8+
ms.date: 08/21/2024
99
ms.author: aawislan
1010
ms.custom: devx-track-azurecli, devx-track-azurepowershell
1111
ms.devlang: azurecli
@@ -262,6 +262,8 @@ az containerapp create \
262262
--env-vars 'APP_PORT=3000'
263263
```
264264

265+
If you're using an Azure Container Registry, include the `--registry-server <REGISTRY_NAME>.azurecr.io` flag in the command.
266+
265267
# [Azure PowerShell](#tab/azure-powershell)
266268

267269
```azurepowershell-interactive
@@ -295,6 +297,8 @@ $ServiceArgs = @{
295297
New-AzContainerApp @ServiceArgs
296298
```
297299

300+
If you're using an Azure Container Registry, include the `RegistryServer = '<REGISTRY_NAME>.azurecr.io'` flag in the command.
301+
298302
---
299303

300304
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 \
317321
--dapr-app-id pythonapp
318322
```
319323

324+
If you're using an Azure Container Registry, include the `--registry-server <REGISTRY_NAME>.azurecr.io` flag in the command.
325+
320326
# [Azure PowerShell](#tab/azure-powershell)
321327

322328
```azurepowershell-interactive
@@ -343,6 +349,8 @@ $ClientArgs = @{
343349
New-AzContainerApp @ClientArgs
344350
```
345351

352+
If you're using an Azure Container Registry, include the `RegistryServer = '<REGISTRY_NAME>.azurecr.io'` flag in the command.
353+
346354
---
347355

348356
## Verify the results

0 commit comments

Comments
 (0)