1、先安装elasticsearch-head
从git上下载源码,把_site部署到容器中运行
下载地址:https://github.com/mobz/elasticsearch-head
访问: http://ip:9100/
2、docker安装es-2.4.5
拉取镜像:
[root@starseaing9228 ~]# docker pull elasticsearch:2.4.5
2.4.5: Pulling from library/elasticsearch
06b22ddb1913: Pull complete
336c28b408ed: Pull complete
1f3e6b8d80c3: Pull complete
aeac59510475: Pull complete
b01db8bd8540: Pull complete
f7f398af5fea: Pull complete
2e542fdaf109: Pull complete
c2f213d11280: Pull complete
2fd1cc621951: Pull complete
bdb4e2eca779: Pull complete
5b2ac3186d68: Pull complete
150d74a5354f: Pull complete
52db74c6e3a4: Pull complete
9dedf2f8d11f: Pull complete
34254b4cf7a2: Pull complete
Digest: sha256:f7f3d09083d8d21ce48fcd49392335e1eb0782f69f619dd4413a698a3318ab90
Status: Downloaded