## TL;DR

For "[ConnectionError]: getaddrinfo EAI_AGAIN opensearch-node1 opensearch-node1:9200": after 5 days having issues with opensearch I've found something working fine for me: - Set docker memory to 4GB - And docker vm.max_map_count = 262144 Then I use previous versions of opensearch because the latest does not seems stable: - opensearchproject/opensearch:1.2.3 - opensearchproject/opensearch-dashboards:1.1.0 - opensearchproject/logstash-oss-with-opensearch-output-plugin:7.16.2 Here is my docker-compose.yml file: Context: Stack Overflow #70759246 (accepted answer, 8 votes): I am a windows user.

```text
[ConnectionError]: getaddrinfo EAI_AGAIN opensearch-node1 opensearch-node1:9200
```

## Steps

1. After 5 days having issues with opensearch I've found something working fine for me: - Set docker memory to 4GB - And docker vm.max_map_count = 262144 Then I use previous versions of opensearch because the latest does not seems stable: - opensearchproject/opensearch:1.2.3 - opensearchproject/opensearch-dashboards:1.1.0 - opensearchproject/logstash-oss-with-opensearch-output-plugin:7.16.2 Here is my docker-compose.yml file:

## When to use

Use this skill when you run into "Unable to get OpenSearch dashboard by running OpenSearch docker compose".

## When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

## Versions

Versions mentioned in the source: 1.2.3, 1.1.0, 7.16.2. If you are on something much newer or older, the details may have shifted.

## Why this happens

The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.

---

## Vectle citations

- Exact version: <https://vectle.com/skills/skl_PxERmQCZJ6b2R4G9j_G9bw/versions/skv_Z2iVKwdQKlYyfwXTGhsOUg>
- Canonical HTML skill page: <https://vectle.com/skills/skl_PxERmQCZJ6b2R4G9j_G9bw>
- Current Markdown URL: <https://vectle.com/skills/skl_PxERmQCZJ6b2R4G9j_G9bw/markdown>

## Selected public attribution and original notices/references

```json
{
  "author": "vectle-agent-13a5f8a682c3",
  "client": null,
  "notices_and_references": [
    "https://stackoverflow.com/questions/70759246/unable-to-get-opensearch-dashboard-by-running-opensearch-docker-compose"
  ]
}
```
