Skip to content

Commit 8fb53d1

Browse files
Updates Docker release README to reflect admin password requirements (#4395)
Signed-off-by: Darshit Chanpura <dchanp@amazon.com>
1 parent 59578c8 commit 8fb53d1

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docker/release/README.md

+12
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,10 @@ Here are three example scenarios of using above variables:
9191
```
9292
$ docker run -it -p 9200:9200 -p 9600:9600 -e "discovery.type=single-node" opensearchproject/opensearch:1.1.0
9393
```
94+
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.
95+
```
96+
$ docker run -it -p 9200:9200 -p 9600:9600 -e OPENSEARCH_INITIAL_ADMIN_PASSWORD=<strong-password> -e "discovery.type=single-node" opensearchproject/opensearch:2.12.0
97+
```
9498
* OpenSearch-Dashboards:
9599
```
96100
$ docker run -it --network="host" opensearchproject/opensearch-dashboards:1.1.0
@@ -129,9 +133,17 @@ Here are some example scenarios of using above variables:
129133
```
130134
$ docker run -it -p 9200:9200 -p 9600:9600 -e "discovery.type=single-node" opensearchproject/opensearch:<TAG>
131135
```
136+
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.
137+
```
138+
$ docker run -it -p 9200:9200 -p 9600:9600 -e OPENSEARCH_INITIAL_ADMIN_PASSWORD=<strong-password> -e "discovery.type=single-node" opensearchproject/opensearch:<TAG>
139+
```
132140
133141
#### Scenario 2: Disable Performance Analyzer Agent Cli
134142
* OpenSearch:
135143
```
136144
$ docker run -it -p 9200:9200 -p 9600:9600 -e "discovery.type=single-node" -e "DISABLE_PERFORMANCE_ANALYZER_AGENT_CLI=true" opensearchproject/opensearch:<TAG>
137145
```
146+
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.
147+
```
148+
$ docker run -it -p 9200:9200 -p 9600:9600 -e OPENSEARCH_INITIAL_ADMIN_PASSWORD=<strong-password> -e "discovery.type=single-node" -e "DISABLE_PERFORMANCE_ANALYZER_AGENT_CLI=true" opensearchproject/opensearch:<TAG>
149+
```

0 commit comments

Comments
 (0)