title: Configure a docker container to access both internet and other docker containers
body: <p>I am using docker for windows and have a docker compose file that is creating a couple of customer applications as well as a <strong>RabbitMq</strong> and a <strong>Seq</strong> container. These are all talking to each other via instance names on the local network created by <code>docker-compose</code>, for example;</p>
  <pre><code>version: '3.4'
  
  services:
    legacydata.workerservice:
      container_name: legacydata.workerservice
      image: ${DOCKER_REGISTRY-}legacydataworkerservice
      build:
        context: .
        dockerfile: LegacyData.Worker/Dockerfile
      depends_on:
        - rabbitmq
  
    legacydata.consumer:
      container_name: legacydata.consumer
      image: ${DOCKER_REGISTRY-}legacydataconsumer
      build:
        context: .
        dockerfile: LegacyData.Consumer/Dockerfile
      depends_on:
        - rabbitmq
  
    rabbitmq:
      image: rabbitmq:3-management-alpine
      container_name: rabbitmq
      environment:
        - RABBITMQ_ERLANG_COOKIE='secretcookie'
        - RABBITMQ_DEFAULT_USER=user
        - RABBITMQ_DEFAULT_PASS=password        
      ports:
        - 5672:5672
        - 15672:15672
  
  ## Move Seq to Azure ACI
  #  seq:
  #    image: datalust/seq:latest
  #    container_name: seq
  #    ports:
  #      - 5341:80
  #    environment:
  #      ACCEPT_EULA: Y
  </code></pre>
  <p>I want move the Seq instance into Azure ACI (I have this running and I can access it as expected for example <a href="http://myseq.southuk.azurecontainer.io" rel="nofollow noreferrer">http://myseq.southuk.azurecontainer.io</a>).</p>
  <p>How do I configure the docker to allow my local containers to access both each other, and internet resources?</p>