Running locally with another elasticsearch container being the master node is now finally working.  This requires setting the ES_DISCOVERY env variable to "multicast" (or something other than "ec2").