Skip to content

Commit 45a7026

Browse files
committed
add little note about flag for when you use an ACR in tutorial
Signed-off-by: Hannah Hunter <[email protected]>
1 parent 1f275fa commit 45a7026

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

articles/container-apps/microservices-dapr.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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 .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 = '.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 .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 = '.azurecr.io'` flag in the command.
353+
346354
---
347355

348356
## Verify the results

0 commit comments

Comments
 (0)