What is the main reason that traefik communicates with other containers by IP and not by aliases such as the name of the container (container_name from docker-compose.yml)?
Is there a technical problem with this? Or it is just faster?
Traefik load balances incoming requests to the target services via their IP. When talking to a container via their service name through Docker DNS, it could not direct requests to a certain container, when using Docker service with multiple instances.