Elasticsearch 5.0.1 fails to be set as a cluster on AWS

So you are using Docker? It was not explicitly said here or I missed that.

I see now that you actually opened another discussion