File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
scenarios/azure-compute-docs/articles/container-instances Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -99,6 +99,7 @@ az container create \
9999 --vnet-address-prefix 10.0.0.0/16 \
100100 --subnet $MY_SUBNET_NAME \
101101 --subnet-address-prefix 10.0.0.0/24
102+ --os-type Linux
102103```
103104
104105A successful operation should produce output similar to the following JSON:
@@ -286,7 +287,7 @@ Deploy the container group with the [az container create][az-container-create] c
286287
287288` ` ` azurecli-interactive
288289az container create --resource-group $MY_RESOURCE_GROUP_NAME \
289- --file container-instances-vnet.yaml
290+ --file container-instances-vnet.yaml --os-type Linux
290291` ` `
291292
292293The following Bash command is for the automated deployment pathway.
@@ -360,6 +361,7 @@ az container create \
360361 --restart-policy never \
361362 --vnet $MY_VNET_NAME \
362363 --subnet $MY_SUBNET_NAME
364+ --os-type Linux
363365` ` `
364366
365367After this second container deployment completes, pull its logs so you can see the output of the `wget` command it executed :
You can’t perform that action at this time.
0 commit comments