Answer the question
In order to leave comments, you need to log in
No living nodes. Elastic + Docker?
Why am I getting No Alive nodes?
docker-compose
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:8.0.0
container_name: learn_es
ports:
- "9200:9200"
environment:
- cluster.name=docker-cluster
- bootstrap.memory_lock=true
- discovery.type=single-node
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
ulimits:
memlock:
soft: -1
hard: -1
curl -XGET 'learn_es:9200' из WEB контейнера из того же docker-compose
curl: (52) Empty reply from server
при попытке использовать комманду sysctl vm.max_map_count=262144
получаю sysctl: setting key "vm.max_map_count", ignoring: Read-only file system
в логах получаю
received plaintext http traffic on an https channel, closing connection Netty4HttpChannel
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question