I have two images uploaded into the same Azure Container Registry and the same repoistory. How do I run these two images together in a same container.
Thanks in advance :)
Currently this is my YAML code.
apiVersion: 2018-10-01
location: eastus
name: web-mongo
properties:
containers:
- name: web
properties:
image: *.azurecr.io/phase1:1357
resources:
requests:
cpu: 2
memoryInGb: 10
ports:
- port: 80
- name: mongo
properties:
image: *.azurecr.io/phase1:latest
resources:
requests:
cpu: 2
memoryInGb: 10
osType: Linux
ipAddress:
type: Public
ports:
- protocol: tcp
port: '80'
type: Microsoft.ContainerInstance/containerGroups
imageRegistryCredentials:
- server: *.azurecr.io
username: *
password: ***