• Stars
    star
    483
  • Rank 91,050 (Top 2 %)
  • Language
  • License
    MIT License
  • Created almost 11 years ago
  • Updated almost 8 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

ElasticSearch Dockerfile for trusted automated Docker builds.

Elasticsearch Dockerfile

This repository contains Dockerfile of Elasticsearch for Docker's automated build published to the public Docker Hub Registry.

Base Docker Image

Installation

  1. Install Docker.

  2. 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

  1. Create a mountable data directory <data-dir> on the host.

  2. Create Elasticsearch config file at <data-dir>/elasticsearch.yml.

```yml
path:
  logs: /data/log
  data: /data/data
```
  1. 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.

More Repositories

1

java

Java Dockerfile for trusted automated Docker builds.
Shell
739
star
2

nginx

Nginx Dockerfile for trusted automated Docker builds.
476
star
3

ubuntu

Ubuntu Dockerfile for trusted automated Docker builds.
Shell
454
star
4

mongodb

MongoDB Dockerfile for trusted automated Docker builds.
Shell
325
star
5

redis

Redis Dockerfile for trusted automated Docker builds.
Shell
280
star
6

ubuntu-desktop

Ubuntu Desktop (LXDE) Dockerfile for trusted automated Docker builds.
Shell
215
star
7

nodejs

Node.js Dockerfile for trusted automated Docker builds.
184
star
8

rabbitmq

RabbitMQ Dockerfile for trusted automated Docker builds.
Shell
161
star
9

haproxy

Haproxy Dockerfile for trusted automated Docker builds.
Shell
126
star
10

ghost

Ghost Dockerfile for trusted automated Docker builds.
Shell
119
star
11

rethinkdb

RethinkDB Dockerfile for trusted automated Docker builds.
87
star
12

mysql

MySQL Dockerfile for trusted automated Docker builds.
Shell
79
star
13

chrome

Chrome Dockerfile for trusted automated Docker builds.
Shell
78
star
14

python

Python Dockerfile for trusted automated Docker builds.
Shell
71
star
15

mariadb

MariaDB Dockerfile for trusted automated Docker builds.
Shell
57
star
16

supervisor

Supervisor Dockerfile for trusted automated Docker builds.
Shell
47
star
17

ansible

Ansible Dockerfile for trusted automated Docker builds.
Shell
43
star
18

go

Go Dockerfile for trusted automated Docker builds.
40
star
19

nodejs-bower-gulp

Node.js w/ Bower & Gulp Dockerfile for trusted automated Docker builds.
Shell
27
star
20

nodejs-bower-grunt

Node.js w/ Bower & Grunt Dockerfile for trusted automated Docker builds.
Shell
26
star
21

ruby

Ruby Dockerfile for trusted automated Docker builds.
Shell
23
star
22

percona

Percona Server Dockerfile for trusted automated Docker builds.
Shell
18
star
23

dockerfile.github.io

Dockerfile Project
HTML
18
star
24

nodejs-runtime

Node.js runtime Dockerfile for trusted automated Docker builds.
Shell
10
star
25

go-runtime

Go runtime Dockerfile for trusted automated Docker builds.
Shell
9
star
26

julia

Julia Dockerfile for trusted automated Docker builds.
Shell
8
star
27

nodejs-bower-gulp-runtime

Node.js w/ Bower & Gulp runtime Dockerfile for trusted automated Docker builds.
Shell
8
star
28

nsq

NSQ Dockerfile for trusted automated Docker builds.
Shell
7
star
29

celery

Celery Dockerfile for trusted automated Docker builds.
Shell
7
star
30

python-runtime

Python runtime Dockerfile for trusted automated Docker builds.
Shell
6
star
31

fpm

FPM Dockerfile for trusted automated Docker builds.
Shell
6
star
32

nodejs-bower-grunt-runtime

Node.js w/ Bower & Grunt runtime Dockerfile for trusted automated Docker builds.
Shell
5
star
33

ruby-runtime

Ruby runtime Dockerfile for trusted automated Docker builds.
Shell
4
star
34

dart-runtime

Dart runtime Dockerfile for trusted automated Docker builds.
Shell
3
star
35

dart

Dart Dockerfile for trusted automated Docker builds.
Shell
3
star