
deprecateddockerfile/elasticsearchThis repository contains Dockerfile of Elasticsearch for Docker's automated build published to the public Docker Hub Registry.
Install Docker.
Download automated build from public Docker Hub Registry: docker pull dockerfile/elasticsearch
(alternatively, you can build an image from Dockerfile: docker build -t="dockerfile/elasticsearch" github.com/dockerfile/elasticsearch)
docker run -d -p 9200:9200 -p 9300:9300 dockerfile/elasticsearch
Create a mountable data directory <data-dir> on the host.
Create Elasticsearch config file at <data-dir>/elasticsearch.yml.
```yml
path: logs: /data/log data: /data/data ```
3. Start a container by mounting data directory and specifying the custom configuration file:
```sh docker run -d -p 9200:9200 -p 9300:9300 -v <data-dir>:/data dockerfile/elasticsearch /elasticsearch/bin/elasticsearch -Des.config=/data/elasticsearch.yml ```
After few seconds, open http://<host>:9200 to see the result.



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