0

I want to set up a Local Development Environment with Docker but I have no experience with Docker.
I ran ./bin/magento-docker ece-deployand get the error: ERROR: [132] Can't get version of elasticsearch: cURL error 6: Could not resolve host: elasticsearch.
Can anyone help me please with this issue?
This a part of my docker-compose.yml:

elasticsearch:
 hostname: elasticsearch.magento2.docker
 image: 'magento/magento-cloud-docker-elasticsearch:7.7-1.2.3'
 ulimits:
 memlock:
 soft: -1
 hard: -1
 environment:
 - cluster.name=docker-cluster,
 - bootstrap.memory_lock=true
 networks:
 magento:
 aliases:
 - elasticsearch.magento2.docker

Thank you!

asked Jul 7, 2021 at 8:22

1 Answer 1

1

The problem was that the ElasticSearch container kept exiting during the deployment. This was solved by giving more memory to docker.

answered Jul 19, 2021 at 9:54

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.