Skip to content

Commit 8cee90f

Browse files
committed
Line edits
1 parent 6d100ac commit 8cee90f

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

learn-pr/azure/build-and-store-container-images/includes/4-deploy-image.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,7 @@ Azure Container Registry doesn't support unauthenticated access and requires aut
3131
1. Deploy a container instance using the `az container create` command. Make sure you replace `<admin-username>` and `<admin-password>` with your admin username and password from the previous command.
3232
3333
```azurecli-interactive
34-
az container create --resource-group learn-acr-rg --name acr-tasks --image $ACR_NAME.azurecr.io/helloacrtasks:v1 --registry-login-server $ACR_NAME.azurecr.io --ip-address Public --location eastus --registry-username <admin-username> --registry-password <admin-password>
35-
--os-type Linux
36-
--cpu 1
37-
--memory 1
34+
az container create --resource-group learn-acr-rg --name acr-tasks --image $ACR_NAME.azurecr.io/helloacrtasks:v1 --registry-login-server $ACR_NAME.azurecr.io --ip-address Public --location eastus --registry-username <admin-username> --registry-password <admin-password> --os-type Linux --cpu 1 --memory 1
3835
```
3936
4037
2. Get the IP address of the Azure container instance using the `az container show` command.

0 commit comments

Comments
 (0)