Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There is no es-docker startup script? #2

Open
grantcurell opened this issue Apr 16, 2018 · 3 comments
Open

There is no es-docker startup script? #2

grantcurell opened this issue Apr 16, 2018 · 3 comments

Comments

@grantcurell
Copy link

The guide was great for explaining how everything works!

Question: what is the es-docker script listed in line 27 of custom-entrypoint? I don't see it anywhere.

@Siouffy
Copy link
Contributor

Siouffy commented Apr 16, 2018

Hi @grantcurell ;;; the es-docker startup script is provided already in the original docker image provided with elastic 5.6.0 ... please check it @ https://github.com/elastic/elasticsearch-docker/tree/5.6/build/elasticsearch/bin.

Since we are already referencing that docker image: "FROM docker.elastic.co/elasticsearch/elasticsearch:5.6.0" in the Dockerfile, we can use that file as its already included.

If the answer is clear, please mark that issue as closed.
Regards,

@shubham-pandey95
Copy link

shubham-pandey95 commented Oct 4, 2018

I tried updating the elasticsearch image to the latest official docker image i.e. 6.4.1 and when I ran the container it was throwing an error

bash: bin/es-docker: No such file or directory

After taking a look into the official github repo @ https://github.com/elastic/elasticsearch-docker/tree/6.4/build/elasticsearch/bin
I found that they have changed the file from es-docker startup script to docker-entrypoint.sh and I tried to make that change in the custom entrypoint script but it is still throwing an error saying the bin/docker-entrypoint.sh directory was not found!

@hamdifourati
Copy link

@shubham-pandey95 that's because they changed the path of the file to /usr/local/bin/ ( elastic/elasticsearch-docker@0abc1f8#diff-c13598a15ea527097b1741a980f33ab1L82 ) . You still can run the script with just docker-entrypoint.sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants