File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
scenarios/azure-compute-docs/articles/container-instances Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -99,7 +99,9 @@ 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
+ --os-type Linux \
103
+ --cpu 1.0 \
104
+ --memory 1.5
103
105
```
104
106
105
107
A successful operation should produce output similar to the following JSON:
@@ -362,7 +364,9 @@ az container create \
362
364
--restart-policy never \
363
365
--vnet $MY_VNET_NAME \
364
366
--subnet $MY_SUBNET_NAME \
365
- --os-type Linux
367
+ --os-type Linux \
368
+ --cpu 1.0 \
369
+ --memory 1.5
366
370
` ` `
367
371
368
372
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