Skip to content

Commit 42f76a8

Browse files
author
naman-msft
committed
updated documentation
1 parent 6386522 commit 42f76a8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scenarios/azure-compute-docs/articles/container-instances/container-instances-vnet.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff 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

104105
A 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
288289
az 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

292293
The 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

365367
After this second container deployment completes, pull its logs so you can see the output of the `wget` command it executed:

0 commit comments

Comments
 (0)