docker环境 快速使用elasticsearch-head插件
生活随笔
收集整理的這篇文章主要介紹了
docker环境 快速使用elasticsearch-head插件
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
docker環境 快速使用elasticsearch-head插件
#elasticsearch配置
#進入elk容器
docker exec -it elk /bin/bash#head插件訪問配置
echo '#head插件訪問# http.cors.enabled: true http.cors.allow-origin: "*" '>>/etc/elasticsearch/elasticsearch.yml#重啟elasticsearch service elasticsearch restart#退出exit Ctrl+D #Browser to access IP: 9100# ElasticSearch Head
本人制作的鏡像上傳到官網,測試正常使用
項目地址 https://hub.docker.com/r/alivv/elasticsearch-head/
#docker run elasticsearch-head
#pull docker pull alivv/elasticsearch-head#run docker run --name es-head -p 9100:9100 -dit alivv/elasticsearch-head docker ps -l# make image
#downloud elasticsearch-head git clone git://github.com/mobz/elasticsearch-head.git#make docker iamge cd elasticsearch-head docker build -t elasticsearch-head -f Dockerfile-alpine .the image size is 75.4MB , on 2018-3-28
轉載于:https://www.cnblogs.com/elvi/p/8664941.html
總結
以上是生活随笔為你收集整理的docker环境 快速使用elasticsearch-head插件的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 《急诊科医生》他为救女孩重伤,临死前直言
- 下一篇: 驻马店看多囊卵巢最好的医院推荐