OpenSearch Docker

OpenSearch is the flexible, scalable, open-source way to build solutions for data-intensive applications. Explore, enrich, and visualize your data with built-in performance, developer-friendly tools, and powerful integrations for machine learning, data processing, and more.

Demo

Playground Demo

Docker

docker run -d -p 9200:9200 -p 9600:9600 -e "discovery.type=single-node" opensearchproject/opensearch
docker run -d --name opensearch -p 9200:9200 -p 9600:9600 -e "discovery.type=single-node" opensearchproject/opensearch:2.7.0
curl https://localhost:9200 -ku 'admin:admin'

OpenSearch Dashboards

docker run -d --name opensearch-dashboards -p 5601:5601 -e "server.host=0.0.0.0" -e 'OPENSEARCH_HOSTS=["https://10.1.77.53:9200"]' opensearchproject/opensearch-dashboards:2.7.0

http://localhost:5601/

Docker Compose

cat /proc/sys/vm/max_map_count
sudo vim /etc/sysctl.conf
vm.max_map_count=262144
sudo sysctl -p

opensearch.yml

Runtime Environment

Screenshots

https://opensearch.org/docs/latest/images/discover-lucene-syntax.png

https://opensearch.org/docs/latest/images/dashboards/add-sample-data.png

https://opensearch.org/docs/latest/images/interact-filter-dashboard.png

References