Elasticsearch docker container fails to start with provided environmet variable

Hi guys, new here and unsure if this is Elasticsearch or docker issue, I think the former.

I'm trying to run Elasticsearch docker container but it fails to process supplied environment variable.

docker run -e "discovery.type=single-node" some_path/Elasticsearch-oss:7.10.2

ERROR: [1] bootstrap checks failed
[1]: the default discovery settings are unsuitable for production use; at least one of  [discovery.seed_hosts, discovery.seed_providers, cluster.initial_master_nodes] must be configured

I've seen chatter about similar but no useful resolution. I'd appreciate if anyone has ideas on the matter.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.