elasticsearch
docker network create esnetwork
docker run -d --name elasticsearch --net esnetwork -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" elasticsearch:7.1.0 --registry-mirror=https://docker.mirrors.ustc.edu.cn
kibana
docker run -d --name kibana --net esnetwork -p 5601:5601 kibana:7.1.0 --registry-mirror=https://docker.mirrors.ustc.edu.cn
来源:oschina
链接:https://my.oschina.net/gdouyang/blog/4293001