Elastic search with docker does not start
There are at least two possible issues, which are not mutually exclusive:
First:
http.cors.allow-origin:"/.*/"
should really be
http.cors.allow-origin: "/.*/"
as YAML notation requires white space separation between the :
and the value of a key-value pair.
Second, the error trace you provided suggests that there is leading white space in front of http.cors.allow-origin: "/.*/"
that is inconsistent with its block per proper YAML notation. It's more likely that the http.cors.allow-origin: "/.*/"
needs to be devoid of leading white space if any exists (since I think http
is typically a top-level block in Elasticsearch configuration files).