From 6bd467049377b9eb74d93d66cdd1effe2d76be11 Mon Sep 17 00:00:00 2001 From: Joey Liu <55552896+Maosaic@users.noreply.github.com> Date: Thu, 19 Dec 2024 13:49:04 -0800 Subject: [PATCH] Update docker.md Add custom admin password requirement Signed-off-by: Joey Liu <55552896+Maosaic@users.noreply.github.com> --- _install-and-configure/install-opensearch/docker.md | 1 + 1 file changed, 1 insertion(+) diff --git a/_install-and-configure/install-opensearch/docker.md b/_install-and-configure/install-opensearch/docker.md index 8925cb5ed8..1f97e4361a 100644 --- a/_install-and-configure/install-opensearch/docker.md +++ b/_install-and-configure/install-opensearch/docker.md @@ -102,6 +102,7 @@ Before continuing, you should verify that Docker is working correctly by deployi ``` For OpenSearch 2.12 or greater, set a new custom admin password before installation using the following command: ```bash + # Password requires a minimum 8 character and must contain at least one uppercase letter, one lowercase letter, one digit, and one special character that is strong. Password strength can be tested here: https://lowe.github.io/tryzxcvbn docker run -d -p 9200:9200 -p 9600:9600 -e "discovery.type=single-node" -e "OPENSEARCH_INITIAL_ADMIN_PASSWORD=" opensearchproject/opensearch:latest ``` 1. Send a request to port 9200. The default username and password are `admin`.