@sujeeth62 How did you deploy the OpenSearch? Was it just a docker command or docker-compose.yml?
Please share either the docker command or docker-compose.yml file content.
Please be aware that since version 2.12 it is mandatory to provide an initial admin password.