赞
踩
1. docker network create es-net
2. docker pull elasticsearch:7.7.0
3. docker run --name elasticsearch --restart=always --privileged=true -d -e ES_JAVA_OPTS="-Xms512m -Xmx512m" -e "discovery.type=single-node" --network es-net -p 9200:9200 -p 9300:9300 elasticsearch:7.7.0
4. docker pull kibana:7.7.0
5. docker run -d --name kibana -e ELASTICSEARCH_HOST=http://elasticsearch:9200 --network=es-net -p 5601:5601 kibana:7.7.0
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。