0

Azure Web App does not consider the host entries specified in the docker-compose.

enter image description here

The /etc/hosts in the web app is not updated with the host entries mentioned in the docker-compose.

enter image description here

Is this the right way to add host entries to the container apps?

KDR
  • 529
  • 4
  • 18
  • Please refer SO threads [S1](https://stackoverflow.com/questions/38302867/how-to-update-etc-hosts-file-in-docker-image-during-docker-build) and [S2](https://stackoverflow.com/questions/54306040/how-to-edit-etc-hosts-in-azure-container-instances) , [Compose file version 3](https://docs.docker.com/compose/compose-file/compose-file-v3/), [Compose file version 2](https://docs.docker.com/compose/compose-file/compose-file-v2/) for more information – HarshithaVeeramalla-MT Mar 08 '22 at 07:31

0 Answers0