Articles → MICROSOFT AZURE → Container Groups In Azure
Container Groups In Azure
Purpose
How To Create Multiple Containers Using The Container Group?
apiVersion: 2019-12-01
location: eastus
name: demogroup
properties:
containers:
- name: demoapp
properties:
image: nginx
resources:
requests:
cpu: 1
memoryInGb: 1.5
ports:
- port: 80
osType: Linux
ipAddress:
type: Public
ports:
- protocol: tcp
port: 80
type: Microsoft.ContainerInstance/containerGroups
Click to Enlarge
Click to Enlarge
az container create --resource-group rg --file deployment.yml
Click to Enlarge