@RdJNL , did you find a solution? I still have this same trouble here.
Azure Container Instances with Docker compose: containers can't reach each other
I'm trying to run a docker compose file on Azure Container Instances.
My file is based on this one: https://github.com/denverquane/automuteus/blob/master/docker-compose.yml. Obviously I've made sure all environment variables, volumes, etc. are setup correctly and it's working locally with Docker for Windows.
However, when I run it on Azure (using docker compose up
) I can't get it to work. The containers are created along with a docker/aci-hostnames-sidecar:1.0
container. However, the containers cannot reach each other. I get errors like this everywhere: dial tcp: lookup redis on 168.63.129.16:53: no such host
. It seems like they cannot resolve the host names that should normally be setup automatically by docker compose.