Elasticsearch version 2.x can not start in docker container but 1.7.3 starts with same config

Do you have three containers (one for each master) under the same VM? Or a single container running three ES nodes?

If three separate containers are involved then have you tried the setting

network.publish_host=$(docker-machine ip default)