Containers (1 / 61): You have deployed a container using the following YAML configuration:
apiVersion: 2018-10-01
location: eastus
name: securetest
properties:
containers:
- name: mycontainer
properties:
image: mcr.microsoft.com/azuredocs/hello-world
ports:
- port: 80
resources:
requests:
cpu: 1.0
memoryInGB: 1.5
osType: ¯\_(ツ)_/¯
restartPolicy: Always
tags: null
type: Microsoft.ContainerInstance/containerGroups
What should you use for osType?
Answer:
Since this is a single container instance, both Windows and Linux would work. Two or more is for multi-containers, thus Linux only.