# OpenSearch Security not initialized in docker

**URL:** <https://forum.opensearch.org/t/opensearch-security-not-initialized-in-docker/20244>\
**Category:** OpenSearch\
**Created:** [July 11, 2024, 6:36am UTC](https://forum.opensearch.org/t/opensearch-security-not-initialized-in-docker/20244 "2024-07-11T06:36:42Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![Ascalonking](https://avatars.discourse-cdn.com/v4/letter/a/8797f3/32.png) [@Ascalonking](https://forum.opensearch.org/u/Ascalonking)\
**Post date:** [July 13, 2024, 11:00am UTC](https://forum.opensearch.org/t/opensearch-security-not-initialized-in-docker/20244/8 "2024-07-13T11:00:41Z")

</div>

I found what was wrong

The problem was in the `discovery.seed_hosts` line, I needed to specify the host names

```auto
services:
  opensearch-node1: # This is also the hostname of the container within the Docker network (i.e. https://opensearch-node1/)
    image: opensearch:2.15.0 # Specifying the latest available image - modify if you want a specific version
    container_name: opensearch-node1
    environment:
      - cluster.name=opensearch-cluster # Name the cluster
      - node.name=node-01 # Name the node that will run in this container
      - discovery.seed_hosts=node-01,node-02,node-03 # Nodes to look for when discovering the cluster
      - cluster.initial_cluster_manager_nodes=node-01,node-02,node-03 # Nodes eligible to serve as cluster manager

```

Now i have problem with opensearch dashboard

Thanks @pablo for helping me

---

_[View the full topic](https://forum.opensearch.org/t/opensearch-security-not-initialized-in-docker/20244)._
