title: Docker-compose in Azure - DNS not working
body: <p>I'm trying to deploy a docker-compose file in Azure, my compose file looks like the below.</p>
  <pre><code>version: '3'
  services:
    db:
      image: mysql:latest
      restart: unless-stopped
      volumes:
        - misp-mysql:/var/lib/mysql
      environment:
        - MYSQL_DATABASE=*****
        - MYSQL_USER=*****
        - MYSQL_PASSWORD=********
        - MYSQL_ROOT_PASSWORD=********
    web:
      image: *****
      restart: unless-stopped
      ports:
        - &quot;80:80&quot;
      volumes:
        - misp-web:/var/www/MISP
      environment:
        - MYSQL_HOST=db
        - MYSQL_DATABASE=****
        - MYSQL_USER=*****
        - MYSQL_PASSWORD=************
  </code></pre>
  <p>When I deploy this to Azure, both containers start and run, as well as a third container 'aci--dns--sidecar', which I assume is for DNS resolution. However, from within the web container, it's impossible to resolve the DB container for me.</p>
  <p>Any suggestion?</p>