Hey Deepak! Your description of Flink's behaviour is correct. To summarize:
# Host Address If you specify a host address as an argument to the JVM (via jobmanager.sh or the start-cluster.sh scripts) then that one is used. If you don't, it falls back to the value configured in flink-conf.yaml (what you describe). # Ports Default used random port and publishes via ZooKeeper. You can configure a port range only via recovery.jobmanager.port (what you describe). --- Your proposal would likely solve the issue, but isn't it possible to handle this outside of Flink? I've found this stack overflow question, which should be related: http://stackoverflow.com/questions/26539727/giving-a-docker-container-a-routable-ip-address What's your opinion?