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

container not starting when attach persistent/shared directories #50

Open
hilben opened this issue Jul 27, 2015 · 2 comments
Open

container not starting when attach persistent/shared directories #50

hilben opened this issue Jul 27, 2015 · 2 comments

Comments

@hilben
Copy link

hilben commented Jul 27, 2015

Hello,

When I follow the instructions as in https://github.com/dockerfile/elasticsearch/blob/master/README.md:
Attach persistent/shared directories

I am unable to start the container.

I use the following command:

docker run -p 9200:9200 -p 9300:9300 -v /Users/hilben/elastic_data/:/data elasticsearch /elasticsearch/bin/elasticsearch -Des.config=/data/elasticsearch.ym

My elasticsearch.yml:
path:
logs: /data/log
data: /data/data

I receive the following error:

/docker-entrypoint.sh: line 20: /elasticsearch/bin/elasticsearch: No such file or directory

This command was working for me previously (I assume that the recent change https://blog.docker.com/2015/03/updates-available-to-popular-repos-update-your-images/ changed something)

I am using:
Docker version 1.3.0, build c78088f
Boot2Docker-cli version: v1.3.0
Git commit: deafc19

Running on OS X 10.9.5

@hilben
Copy link
Author

hilben commented Jul 27, 2015

very likely same issue as in docker-library/elasticsearch#27

@Garito
Copy link

Garito commented Nov 26, 2015

yeah, sure, @hilben but I can't find the canonical way to solve

Could someone put in the readme the canonical way to solve this issue?
It hasn't any sense to make people dig the issues to solve a common problem, isn't it?

Thanks!

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

2 participants