Skip to content

Commit a1ca7d7

Browse files
committed
Updated instructions.
1 parent 35ce9eb commit a1ca7d7

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,27 @@
11
# docker-elasticsearch-kubernetes
22
Ready to use Elasticsearch + Kubernetes discovery plug-in Docker image.
3+
4+
[![Docker Repository on Quay.io](https://quay.io/repository/pires/docker-elasticsearch-kubernetes/status "Docker Repository on Quay.io")](https://quay.io/repository/pires/docker-elasticsearch-kubernetes)
5+
6+
## Current software
7+
8+
* Oracle JRE 8 Update 45
9+
* Elasticsearch 1.5.2
10+
* Kubernetes plug-in 1.2.0
11+
12+
## Pre-requisites
13+
14+
* Docker 1.5.0+
15+
16+
## Run
17+
18+
You need a folder named `config` with your own version of `elasticsearch.yml`. You can add other Elasticserach configuration files to this folder, such as `logging.yml`.
19+
20+
```
21+
docker run --rm -v /path/to/config:/elasticsearch/config quay.io/pires/docker-elasticsearch-kubernetes:1.5.2
22+
```
23+
24+
In case you want to specify a data folder so that Elasticsearch writes to storage outside the container, run
25+
```
26+
docker run --rm -v /path/to/config:/elasticsearch/config -v /path/to/data_folder:/data quay.io/pires/docker-elasticsearch-kubernetes:1.5.2
27+
```

0 commit comments

Comments
 (0)