elasticsearch dokcer 镜像下载地址
https://www.docker.elastic.co/r/elasticsearch?limit=50&offset=400&show_snapshots=false
docker network create elastic
docker pull docker.elastic.co/elasticsearch/elasticsearch:8.3.2
这里在运行的时候设置ES的java_opts , discovery.type=single-node 单点模式
docker run -e ES_JAVA_OPTS="-Xms256m -Xmx256m" -e "discovery.type=single-node" --name es-node01 --net elastic -p 9200:9200 -p 9300:9300 -t docker.elastic.co/elasticsearch/elasticsearch:8.3.2
...
----------------------------------------------------------------------------------------------------------------------------
-> Elasticsearch security features have been automatically configured!
-> Authentication is enabled and cluster connections are encrypted.
-> Password for the elastic user (reset with `bin/elasticsearch-reset-password -u elastic`):
SvuY++qbLxwj*c+U_5Gm
-> HTTP CA certificate SHA-256 fingerprint:
8f160e2f8a672896f0d7fa819b15281018f8771d704f80d949e49159dbce0741
-> Configure Kibana to use this cluster:
* Run Kibana and click the configuration link

最低0.47元/天 解锁文章
3777

被折叠的 条评论
为什么被折叠?



