docker pull docker.io/elasticsearch:7.1.1 docker run -d --name es -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" docker.io/elasticsearch:7.1.1
# https://www.elastic.co/cn/downloads/kibana for mac: 1. run bin/kibana 2. http://localhost:5601
es_setup