Skip to content

container not starting when attach persistent/shared directories #50

@hilben

Description

@hilben

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions