下载镜像
docker pull mobz/elasticsearch-head:5
启动镜像
docker run -d -p 9100:9100 -d --name elasticsearch-head mobz/elasticsearch-head:5
配置
docker exec -it elasticsearch-head bash
# 安装vim
apt-get update
apt-get install vim
# 修改vendor.js
vim _site/vendor.js
application/x-www-form-urlencoded 改为 application/json;charset=UTF-8
# 退出
exit
# 重启
docker restart elasticsearch-head
浏览器访问elasticsearch-head
http://127.0.0.1:9100/