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 \
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
102+ --os-type Linux \
103+ --cpu 1.0 \
104+ --memory 1.5
103105```
104106
105107A successful operation should produce output similar to the following JSON:
@@ -362,7 +364,9 @@ az container create \
362364 --restart-policy never \
363365 --vnet $MY_VNET_NAME \
364366 --subnet $MY_SUBNET_NAME \
365- --os-type Linux
367+ --os-type Linux \
368+ --cpu 1.0 \
369+ --memory 1.5
366370` ` `
367371
368372After 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