From 8fb53d1a4cc193b7c41ccba3ecd106d3dd991e59 Mon Sep 17 00:00:00 2001 From: Darshit Chanpura <35282393+DarshitChanpura@users.noreply.github.com> Date: Fri, 2 Feb 2024 13:44:17 -0500 Subject: [PATCH] Updates Docker release README to reflect admin password requirements (#4395) Signed-off-by: Darshit Chanpura --- docker/release/README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docker/release/README.md b/docker/release/README.md index a3837b2bc8..4c79ddc8b7 100644 --- a/docker/release/README.md +++ b/docker/release/README.md @@ -91,6 +91,10 @@ Here are three example scenarios of using above variables: ``` $ docker run -it -p 9200:9200 -p 9600:9600 -e "discovery.type=single-node" opensearchproject/opensearch:1.1.0 ``` + Note: For OpenSearch 2.12 and later, a custom password for the admin user is required to be passed to set-up and utilize demo configuration. + ``` + $ docker run -it -p 9200:9200 -p 9600:9600 -e OPENSEARCH_INITIAL_ADMIN_PASSWORD= -e "discovery.type=single-node" opensearchproject/opensearch:2.12.0 + ``` * OpenSearch-Dashboards: ``` $ docker run -it --network="host" opensearchproject/opensearch-dashboards:1.1.0 @@ -129,9 +133,17 @@ Here are some example scenarios of using above variables: ``` $ docker run -it -p 9200:9200 -p 9600:9600 -e "discovery.type=single-node" opensearchproject/opensearch: ``` + Note: For OpenSearch 2.12 and later, a custom password for the admin user is required to be passed to set-up and utilize demo configuration. + ``` + $ docker run -it -p 9200:9200 -p 9600:9600 -e OPENSEARCH_INITIAL_ADMIN_PASSWORD= -e "discovery.type=single-node" opensearchproject/opensearch: + ``` #### Scenario 2: Disable Performance Analyzer Agent Cli * OpenSearch: ``` $ docker run -it -p 9200:9200 -p 9600:9600 -e "discovery.type=single-node" -e "DISABLE_PERFORMANCE_ANALYZER_AGENT_CLI=true" opensearchproject/opensearch: ``` + Note: For OpenSearch 2.12 and later, a custom password for the admin user is required to be passed to set-up and utilize demo configuration. + ``` + $ docker run -it -p 9200:9200 -p 9600:9600 -e OPENSEARCH_INITIAL_ADMIN_PASSWORD= -e "discovery.type=single-node" -e "DISABLE_PERFORMANCE_ANALYZER_AGENT_CLI=true" opensearchproject/opensearch: + ```