- using environment variable in systemd unit file
- https://github.com/veverjak/coreos-mesos-marathon/commit/d30d7a371044c53f56888372e53da588575f3ef1#diff-8d7c512dced74961f707b0df991788cdR9
- mesos-master container starts listening on it's containers IP
- info is saved to zookeeper
- slave on same host can connect to master because its routed via same bridge device
- slave from different host can't connect to master because it's not routed via same bridge device
- Use some etcd based proxy
- Can mesos-master write custom IP to zookeeper???
- using parameter --hostname for startup of mesos-master service
- Use hosts IP for container