dockerfile/elasticsearch
Sobre
ElasticSearch Dockerfile for trusted automated Docker builds.
Sistemas e infraestruturaCrescimento medido de estrelas
- em 24 h
- 0
- em 7 dias
- +1
- em 15 dias
- +1
- em 1 mês
- Coletando histórico
Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.
README.md
OriginalElasticsearch Dockerfile
This repository contains Dockerfile of Elasticsearch for Docker's automated build published to the public Docker Hub Registry.
Base Docker Image
Installation
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)
Usage
docker run -d -p 9200:9200 -p 9300:9300 dockerfile/elasticsearch
Attach persistent/shared directories
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
```
- 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.
Explore projetos relacionados
Carregando…