Skip to content

Fix docker compose default "Getting Started" #101401

@dgrumieaux

Description

@dgrumieaux

Elasticsearch Version

8.10.4

Installed Plugins

No response

Java Version

bundled

OS Version

Microsoft Windows 10

Problem Description

I followed the docker compose deployment steps found in the documentation here, but the compose cluster failed to start up.

I had to add the following flag to services es01 es02 and es03:

- node.store.allow_mmap=false

Steps to Reproduce

Follow the steps in the documentation here for Docker Compose

https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html#docker-compose-file

Note errors starting up es01/2/3 and an error in the logs.

Logs (if relevant)

rp-search-es01-1 | {"@timestamp":"2023-10-26T18:32:05.387Z", "log.level":"ERROR", "message":"node validation exception\n[1] bootstrap checks failed. You must address the points described in the following [1] lines before starting Elasticsearch.\nbootstrap check failure
[1] of [1]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]", "ecs.version": "1.2.0","service.name":"ES_ECS","event.dataset":"elasticsearch.server","process.thread.name":"main","log.logger":"org.elasticsearch.bootstrap.Elasticsearch","elasticsearch.node.name":"es01","elasticsearch.cluster.name":"docker-cluster"}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions