Public | Automated Build

Last pushed: 2 years ago
Short Description
elasticsearch-ik-pinyin-docker
Full Description

elasticsearch-ik-pinyin-docker

Extend an existing ElasticSearch docker image for Chinese to support ik-pinyin plugin, which can extract PinYin indices derived from IK analyzer.

Basic Image

java:8-jre

Get Image

docker pull liukaitj/elasticsearch-ik-pinyin-docker:1.6.0P

Start Image

docker run --name esdocker -p 9200:9200 -p 9300:9300 -v /path/to/data:/data -v /path/to/logs:/logs -e CLUSTER_NAME=elasticsearch --rm=false -d liukaitj/elasticsearch-ik-pinyin-docker:1.6.0P
  • Details of -e Configuration

Environment variable passed in docker container are corresponding to the configuration of elasticsearch.yml, such as:

CLUSTER_NAME  -->  cluster.name
NODE_NAME      -->  node.name

For detail information about them please reference to the Environment variable definition inside docker-entrypoint.sh .

Docker Pull Command
Owner
liukaitj

Comments (1)
robert
a year ago

启动时会报权限错误。不知道别人是否遇到这个问题,可以参考下面这个链接进行修复
http://wiki.yongliang.info/#!d/resources/dockers/elasticsearch-ik-pinyin/README.md