Public | Automated Build

Last pushed: 2 years ago
Short Description
Docker image to run an out of the box Elasticsearch.
Full Description

partlab/ubuntu-elasticsearch

Docker image to run an out of the box Elasticsearch.

Usage

Build

$ docker build -t partlab/ubuntu-elasticsearch .

Download automated build

$ docker pull partlab/ubuntu-elasticsearch

Running the Elasticsearch server

$ docker run -d -p 9200:9200 -p 9300:9300 --name elasticsearch partlab/ubuntu-elasticsearch

Running the Elasticsearch server with persistent directory

$ docker run -d -p 9200:9200 -p 9300:9300 --name elasticsearch -v <data-dir>:/var/lib/elasticsearch partlab/ubuntu-elasticsearch

Tips

VirtualBox (boot2docker-vm)

$ boot2docker halt
$ VBoxManage modifyvm boot2docker-vm --natpf1 "tcp-port9200,tcp,,9200,,9200"
$ VBoxManage modifyvm boot2docker-vm --natpf1 "tcp-port9300,tcp,,9300,,9300"
$ boot2docker up
Docker Pull Command
Owner
partlab
Source Repository