If we leave host port empty, ranger will take a random free port which will exposed on this host. A second container started on the same host will get the same dynamic port on this host and failed to start. The only solution for now is to start an internal second layer of loadbalancer on each host exposing only one port to the first layer of loadbalancer balancing over the loadbalancer of the second layer. Great will be a really dynamic port exposing. Every container will expose to a really different dynamic port and we only need one layer of loadbalancers getting ride of that ports…