One of the useful features of Docker for Azure is that when you deploy a swarm service in the container cluster, the Docker for Azure services would automatically create a load balancer rule to route public traffic to the service (using the same port as published on the swarm service). However, we want to change the way these load balancer rules are created. We need to do this so that we can introduce multi-tenancy, by mapping specific service endpoints to specific public IP & ports.
In order for us to customize the behaviour of how load balancer rules are created, we need to understand what Docker4x container is responsible for creating those load balancer rules, understand how it does that and then create our own version of the service (if we cannot reconfigure the existing one to do what we want).
Can anyone help us on where we can find this information?