diff --git a/README.md b/README.md index 12a14b006da..ff36b1e46eb 100644 --- a/README.md +++ b/README.md @@ -13,14 +13,14 @@ This repository contains **Dockerfile** of [Elasticsearch](http://www.elasticsea 1. Install [Docker](https://www.docker.com/). -2. Download [automated build](https://registry.hub.docker.com/u/dockerfile/elasticsearch/) from public [Docker Hub Registry](https://registry.hub.docker.com/): `docker pull dockerfile/elasticsearch` +2. Download [automated build](https://registry.hub.docker.com/u/library/elasticsearch/) from public [Docker Hub Registry](https://registry.hub.docker.com/): `docker pull elasticsearch` (alternatively, you can build an image from Dockerfile: `docker build -t="dockerfile/elasticsearch" github.com/dockerfile/elasticsearch`) ### Usage - docker run -d -p 9200:9200 -p 9300:9300 dockerfile/elasticsearch + docker run -d -p 9200:9200 -p 9300:9300 elasticsearch #### Attach persistent/shared directories @@ -37,7 +37,7 @@ This repository contains **Dockerfile** of [Elasticsearch](http://www.elasticsea 3. Start a container by mounting data directory and specifying the custom configuration file: ```sh - docker run -d -p 9200:9200 -p 9300:9300 -v :/data dockerfile/elasticsearch /elasticsearch/bin/elasticsearch -Des.config=/data/elasticsearch.yml + docker run -d -p 9200:9200 -p 9300:9300 -v :/data elasticsearch /elasticsearch/bin/elasticsearch -Des.config=/data/elasticsearch.yml ``` After few seconds, open `http://:9200` to see the result.