1.2 KiB
1.2 KiB
layout | title | parent | nav_order | redirect_from | ||
---|---|---|---|---|---|---|
default | Docker | Installing OpenSearch Dashboards | 1 |
|
Run OpenSearch Dashboards using Docker
You can start OpenSearch Dashboards using docker run
after creating a Docker network and starting OpenSearch, but the process of connecting OpenSearch Dashboards to OpenSearch is significantly easier with a Docker Compose file.
-
Run
docker pull opensearchproject/opensearch-dashboards:2
. -
Create a
docker-compose.yml
file appropriate for your environment. A sample file that includes OpenSearch Dashboards is available on the OpenSearch Docker installation page.Just like
opensearch.yml
, you can pass a customopensearch_dashboards.yml
to the container in the Docker Compose file. {: .tip } -
Run
docker-compose up
.Wait for the containers to start. Then see the OpenSearch Dashboards documentation.
-
When finished, run
docker-compose down
.