-
I am getting the error
services:
elasticsearch:
build:
context: ./elasticsearch
args:
ELASTIC_VERSION: ${ELASTIC_VERSION}
volumes:
- "${ROOT:-.}/elasticsearch/config/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml"
- "elasticsearch:/usr/share/elasticsearch/data"
expose:
- "9200"
environment:
discovery.type: single-node
ES_JAVA_OPTS: '-Xms512m -Xmx512m'
healthcheck:
test: curl -s -f http://elasticsearch:9200/_nodes/http || exit 1
interval: 30s
timeout: 10s
retries: 3
What I have tried
P.S. I hope this is the right community forum for help related to Docker. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Solved by upgrading Compose, a la The full command to bring the service up is: |
Beta Was this translation helpful? Give feedback.
Solved by upgrading Compose, a la
sudo apt-get install docker-compose-plugin
The full command to bring the service up is:
ROOT=/root/public/litesiem/core docker --context remote compose -f docker-compose.yaml up elasticsearch
.