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 \
99
99
--vnet-address-prefix 10.0.0.0/16 \
100
100
--subnet $MY_SUBNET_NAME \
101
101
--subnet-address-prefix 10.0.0.0/24
102
+ --os-type Linux
102
103
```
103
104
104
105
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
286
287
287
288
` ` ` azurecli-interactive
288
289
az container create --resource-group $MY_RESOURCE_GROUP_NAME \
289
- --file container-instances-vnet.yaml
290
+ --file container-instances-vnet.yaml --os-type Linux
290
291
` ` `
291
292
292
293
The following Bash command is for the automated deployment pathway.
@@ -360,6 +361,7 @@ az container create \
360
361
--restart-policy never \
361
362
--vnet $MY_VNET_NAME \
362
363
--subnet $MY_SUBNET_NAME
364
+ --os-type Linux
363
365
` ` `
364
366
365
367
After 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