Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

install elastic search in docker

I used these two commands in cmd:

docker pull elasticsearch

show error:

Using default tag: latest
Error response from daemon: manifest for elasticsearch:latest not found: manifest unknown: manifest unknown

and this command with several different versions:

docker pull docker.elastic.co/elasticsearch/elasticsearch:7.9.0

show error:

Error response from daemon: Get https://docker.elastic.co/v2/elasticsearch/elasticsearch/manifests/7.9.0: Get https://docker-auth.elastic.co/auth?scope=repository%3Aelasticsearch%2Felasticsearch%3Apull&service=token-service: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)

how to resolve this problem?
please guide me.

like image 580
Mehdi Jalali Avatar asked Mar 21 '26 01:03

Mehdi Jalali


1 Answers

latest version of elastic search does not work out of the box

https://github.com/elastic/elasticsearch-docker/issues/215

so, use specific version to install

docker pull docker.elastic.co/elasticsearch/elasticsearch:7.11.1
like image 98
v47 Avatar answered Mar 23 '26 23:03

v47



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!