{ "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "parameters": { }, "variables": { "container1name": "aci-tutorial-app", "container1image": "microsoft/aci-helloworld:latest", "container2name": "aci-tutorial-sidecar", "container2image": "microsoft/aci-tutorial-sidecar" }, "resources": [ { "name": "LionContainerGroup", "type": "Microsoft.ContainerInstance/containerGroups", "apiVersion": "2017-08-01-preview", "location": "[resourceGroup().location]", "properties": { "containers": [ { "name": "[variables('container1name')]", "properties": { "image": "[variables('container1image')]", "resources": { "requests": { "cpu": 1, "memoryInGb": 1.5 } }, "ports": [ { "port": 80 } ] } }, { "name": "[variables('container2name')]", "properties": { "image": "[variables('container2image')]", "resources": { "requests": { "cpu": 1, "memoryInGb": 1.5 } } } } ], "osType": "Linux", "ipAddress": { "type": "Public", "ports": [ { "protocol": "tcp", "port": "80" } ] } } } ], "outputs": { "containerIPv4Address": { "type": "string", "value": "[reference(resourceId('Microsoft.ContainerInstance/containerGroups/', 'LionContainerGroup')).ipAddress.ip]" } } }