I’m trying to run an elasticsearch docker container passing the following environment variable, which is required in my case.
docker run -e “discovery.type=single-node” some_path/Elasticsearch:1.2.3
It fails as follows because the environment variable is not processed.
ERROR:  bootstrap checks failed : 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.
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg. Version: 3.2.3 API Version: 3.2.3 Go Version: go1.15.14 Built: Thu Sep 23 23:03:03 2021 OS/Arch: linux/amd64