其他分享
首页 > 其他分享> > dokcer中安装ElasticSearch

dokcer中安装ElasticSearch

作者:互联网

1、下载EalasticSearch和kibana

docker pull elasticsearch:7.6.2
docker pull kibana:7.6.2

2、配置

mkdir -p /mydata/elasticsearch/config
mkdir -p /mydata/elasticsearch/data
echo "http.host: 0.0.0.0" >/mydata/elasticsearch/config/elasticsearch.yml
chmod -R 777 /mydata/elasticsearch/

3、启动Elastic search

docker run --name elasticsearch -p 9200:9200 -p 9300:9300 \
-e  

标签:9200,mydata,0.0,dokcer,kibana,ElasticSearch,elasticsearch,docker,安装
来源: https://blog.csdn.net/weixin_43496746/article/details/120257705