Merge pull request #212 from maxbeatty/elasticsearch-doc-ports

elasticsearch: document exposed ports
This commit is contained in:
Tianon Gravi 2015-04-20 16:15:38 -07:00
commit 4f3b9e6e8c
2 changed files with 4 additions and 0 deletions

View File

@ -34,6 +34,8 @@ This image is configured with a volume at `/usr/share/elasticsearch/data` to hol
docker run -d -v "$PWD/esdata":/usr/share/elasticsearch/data elasticsearch docker run -d -v "$PWD/esdata":/usr/share/elasticsearch/data elasticsearch
This image includes `EXPOSE 9200 9300` ([default `http.port`](http://www.elastic.co/guide/en/elasticsearch/reference/1.5/modules-http.html)), so standard container linking will make it automatically available to the linked containers.
# License # License
View [license information](https://github.com/elasticsearch/elasticsearch/blob/66b5ed86f7adede8102cd4d979b9f4924e5bd837/LICENSE.txt) for the software contained in this image. View [license information](https://github.com/elasticsearch/elasticsearch/blob/66b5ed86f7adede8102cd4d979b9f4924e5bd837/LICENSE.txt) for the software contained in this image.

View File

@ -25,3 +25,5 @@ This image comes with a default set of configuration files for `elasticsearch`,
This image is configured with a volume at `/usr/share/elasticsearch/data` to hold the persisted index data. Use that path if you would like to keep the data in a mounted volume: This image is configured with a volume at `/usr/share/elasticsearch/data` to hold the persisted index data. Use that path if you would like to keep the data in a mounted volume:
docker run -d -v "$PWD/esdata":/usr/share/elasticsearch/data elasticsearch docker run -d -v "$PWD/esdata":/usr/share/elasticsearch/data elasticsearch
This image includes `EXPOSE 9200 9300` ([default `http.port`](http://www.elastic.co/guide/en/elasticsearch/reference/1.5/modules-http.html)), so standard container linking will make it automatically available to the linked containers.