@[TOC](docker 安装 Elasticsearch(6.6.1) & X-Pack 认证& Kibana & Logstash )
Docker 安装
链接: https://yeasy.gitbooks.io/docker_practice/.
Elasticsearch 安装
docker run --name elasticsearch -p 9200:9200 -p 9300:9300 -e xpack.security.enabled=true -v /d/work/docker/elasticsearch/config/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml -v /d/work/docker/elasticsearch/data:/usr/share/elasticsearch/data -d elasticsearch:6.6.1
-e xpack.security.enabled=true 配置Elasticsearch xpack 安全认证
-p 端口映射
-v 数据持久化
elasticsearch.yml
cluster.name: docker-elasticsearch
network.host: 0.0.0.0