Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to run elasticsearch on Docker

2025-12-14 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)05/31 Report--

This article mainly introduces how to run elasticsearch on Docker, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor take you to understand it.

1. Pull the image

List-1.1

Xxx@xxx-ubuntu:/tmp$ docker pull elasticsearch:6.5.12, running container

List-2.1

Docker run-d-- name elasticsearch-p 9200 discovery.type=single-node 9200-p 9300 esData1:/usr/share/elasticsearch-e "discovery.type=single-node" elasticsearch:6.5.1

EsData1 in List-2.1 is a data volume.

Thank you for reading this article carefully. I hope the article "how to run elasticsearch on Docker" shared by the editor will be helpful to you. At the same time, I also hope you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

  • Http post request header is to

    Open the conf directory of tomcat, find server.xml, edit the place where you can find the port number, and add the following content

    12
    Report