title: How to expose multiple ports on Azure Container Instance?
body: <p>Is it possible to expose/open more than one port on an <a href="https://docs.microsoft.com/en-us/azure/container-instances/" rel="noreferrer">Azure Container Instance</a>? I've only been able to open one port per container.</p>
  
  <p>I'd like to run the equivalent of: <code>docker run -p 80:80 -p 443:443 ...</code></p>
  
  <p>I've unsuccessfully tried:</p>
  
  <ul>
  <li>Maps only the last port: <code>az container create ... --port 80 --port 443</code></li>
  <li>Syntax error: <code>az container create ... --port 80 443</code></li>
  </ul>
  
  <p>But the resource JSON seems to indicate that an array is possible:</p>
  
  <pre><code>az container show -name &lt;container-name&gt; --resource-group &lt;resource-group-name&gt;
  
  Response: 
  {
    "containers": [
      {
        ...
        "name": "...",
        "ports": [
          {
            "port": 80
          }
        ...
      }
    ],
     ...
    "ipAddress": {
      "ip": "xxx.xxx.xxx.xxx",
      "ports": [
        {
          "port": 80,
          "protocol": "TCP"
        }
      ]
    },
    ...
  }
  </code></pre>