title: Local docker container cannot route to Azure database
body: <p>Context:</p>
  
  <p>Windows host (with up-to-date Docker For Windows).</p>
  
  <p>Linux-based container running on said host.</p>
  
  <p>MySQL database running on Azure (and not in a container).</p>
  
  <p>When running the container it is impossible to ping the Azure database (let alone query it). The message indicates that it cannot find a route to {azure db IP}.
  However I can easily access a database on my Windows host local network. I can also access the internet, for example to download ping tools on my container.</p>
  
  <p>My Windows host can ping and query the Azure database.
  I've tried messing with Docker ip configuration (in the visual application) as well as going into the container at run time and changing its ip address since Docker default address is in the same subnet as Azure.
  I've even tried switching the virtual commutator on the hyper-v machine but Docker seems to recreate those configurations when restarting.</p>
  
  <p>How can my container successfully route to an azure network?</p>
  
  <p>Thank you for your advice and help.</p>