
monsantoco/elasticsearchThis is a highly configurable ElasticSearch Docker image built using Docker's automated build process published to the public Docker Hub Registry.
It is usually the back-end for a Logstash instance with Kibana as the frontend forming what is commonly referred to as an ELK stack.
To start a basic container using ephemeral storage:
shdocker run --name %p \ --publish 9200:9200 \ --publish 9300:9300 \ monsantoco/elasticsearch
Within the container the volume /var/lib/elasticsearch is exposed. It contains the sub-directories for data, log and config. To start a default container with attached persistent/shared storage for data:
shmkdir -p /es/data docker run --rm --name %p --publish 9200:9200 \ --publish 9300:9300 \ --volume /var/lib/elasticsearch/data:/var/lib/elasticsearch/data \ monsantoco/elasticsearch
Attaching persistent storage ensures that the data is retained across container restarts (with some obvious caveats). It is recommended this be done instead via a data container, preferably hosted an AWS S3 bucket or other externalized, distributed persistent storage.
A few plugins are installed:
BigDesk: Provides live charts and statistics for an Elasticsearch cluster. You can open a browser and navigate to http://localhost:9200/_plugin/bigdesk/ it will open Bigdesk and auto-connect to the ES node. You will need to change the localhost and 9200 port to the correct values for your environment/setup.
Elasticsearch Head: A web front end for an Elasticsearch cluster. Open http://localhost:9200/_plugin/head/ and it will run it as a plugin within the Elasticsearch cluster.
Curator: Helps with management of indices.
AWS Cloud - Allows usage of AWS API for unicast discovery and S3 repositories for snapshots.
Environment variables are accepted as a means to provide further configuration by reading those starting with ES_. Any matching variables will get added to Elasticsearch's configuration file, `elasticsearch.yml' by:
ES_ prefix_ with ., except where there is a double (__) which is replaced by a single (_).For example, an environment variable ES_CLUSTER_NAME=lscluster will result in cluster.name=lscluster within elasticsearch.yml. Similarly, ES_CLOUD_AWS_ACCESS__KEY=GHKDFIADFNADFIADFKJG would result in cloud.aws.access_key=GHKDFIADFNADFIADFKJG within elasticsearch.yml.
You can also import your own configuration file by setting ES_CFG_URL to a valid URL. The environment variable substitution can then also be used on your file as well.



manifest unknown 错误
TLS 证书验证失败
DNS 解析超时
410 错误:版本过低
402 错误:流量耗尽
身份认证失败错误
429 限流错误
凭证保存错误
来自真实用户的反馈,见证轩辕镜像的优质服务