adds support for docker linking for master ip discovery