elastic / elasticsearch

Free and Open Source, Distributed, RESTful Search Engine
https://www.elastic.co/products/elasticsearch
Other
1.27k stars 24.86k forks source link

Docker Cluster not initializing if any port is mapped #90896

Open CTGControls opened 2 years ago

CTGControls commented 2 years ago

Elasticsearch Version

8.4.3

Installed Plugins

none

Java Version

Docker

OS Version

Ubuntu 20.04.5 LTS Release Docker version 20.10.12, build 20.10.12-0ubuntu2~20.04.1

Problem Description

When I map a port the cluster never initializes.

Steps to Reproduce

https://github.com/CTGControls/elasticDockerBug

docker-compose-not-working-cluster.yml

docker-compose-working-cluster.yml

Logs (if relevant)

_elk_es01.1.tm2w2xoirgfcs05av1jmp0mle_logs (1).txt 5qbt3682n5xhdyrc9rmtfhp5f_logs (1).txt 5qbt3682n5xhdyrc9rmtfhp5f_logs.txt n99xbo56t42jwds7zpjtpr76o_logs (1).txt n99xbo56t42jwds7zpjtpr76o_logs.txt

elasticsearchmachine commented 2 years ago

Pinging @elastic/es-delivery (Team:Delivery)