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

Whatever you use, you need to make sure that the IP address and ports for the VMs are properly set for discovery.zen.ping.unicast.hosts and that those are visible to other VMs and their corresponding containers.