프로젝트
GitHub에서 보기
dockerfile/elasticsearch
소개
신뢰할 수 있는 Docker 자동 빌드를 위한 ElasticSearch Dockerfile입니다.
시스템 및 인프라측정된 스타 증가
- in 24h
- 0
- in 7 days
- +1
- in 15 days
- +1
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
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.
관련 프로젝트 살펴보기
불러오는 중…