docker run --name elasticsearch -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" -e ES_JAVA_OPTS="-Xms64m -Xmx4096m" -d elasticsearch:7.14.1
docker run --name kibana --link=elasticsearch:test  -p 5601:5601 -d kibana:7.14.1
docker start kibana

参考文章:
Docker下安装ElasticSearch和Kibana

Docker 安装 ElasticSearch


universe_king
3.4k 声望678 粉丝