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: learn-pr/azure/build-and-store-container-images/includes/4-deploy-image.md
+1-4Lines changed: 1 addition & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,10 +31,7 @@ Azure Container Registry doesn't support unauthenticated access and requires aut
31
31
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.
32
32
33
33
```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
38
35
```
39
36
40
37
2. Get the IP address of the Azure container instance using the `az container show` command.
0 commit comments