First, pull the image (or just create a container and it will be pulled naturally) Create a container docker run --name elasticsearch --net host -e "discovery.type=single-node" -e "network.host=IP address" elasticsearch:6.5.4 start up View logs You can see that my server has only 2G memory, so it cannot start due to insufficient memory. Change the startup memory size. Restart ES docker run --name elasticsearch -d -e ES_JAVA_OPTS="-Xms512m -Xmx512m" --net host -e "discovery.type=single-node" -e "network.host=IP address" -p 9200:9200 -p 9300:9300 elasticsearch test IP:9200 Summarize The above is a detailed tutorial on how to install ElasticSearch 6.x with Docker. I hope it will be helpful to you. If you have any questions, please leave me a message and I will reply to you in time! You may also be interested in:
|
<<: MySql common query command operation list
>>: Usage of Node.js http module
Table of contents Normal paging query How to opti...
Preface Recently, I have been busy dealing with s...
Methods for changing passwords before MySQL 5.7: ...
Table of contents 1. Introduction 2. JDBC impleme...
Table of contents Written in front router.json Ro...
Table of contents Vue3 encapsulation message prom...
First, let me show you the finished effect Main i...
Introduction During the work process, slow querie...
Red and pink, and their hexadecimal codes. #99003...
Two implementations of Vue drop-down list The fir...
Table of contents javascript tamper-proof object ...
Table of contents Preface 1. Conventional Vue com...
In the previous article https://www.jb51.net/arti...
Preface Recently, I accidentally discovered MySQL...
Overview es6 adds a new way to get specified elem...