Git Product home page Git Product logo

Comments (2)

xermus avatar xermus commented on August 25, 2024

The volume for the data container worked out of the box. I just changed the path for the config like this pointing directly to the elasticsearch.yml file:

docker run -d --name elasticsearch --security-opt apparmor=unconfined -v /data/elasticsearch-data:/elasticsearch/data -v /data/elasticsearch-config/elasticsearch.yml:/elasticsearch/config/elasticsearch.yml -p 9200:9200 -p 9300:9300 -e ELASTIC_PWD=changeme -e KIBANA_PWD=changeme khezen/elasticsearch:latest

.. and this way it seems to work. Is this path to elasticsearch.yml correct?

Also: When I want to set an inital IP address like so

-e NETWORK_HOST=172.17.0.101

the IP is not taken when I stop/remove the container and bring it up with a parameter like this ^^. How do you assign static IPs if you have several containers which need to talk to each other?

from docker-elasticsearch.

khezen avatar khezen commented on August 25, 2024

Please check this thread. #45

for more material about how volumes work https://docs.docker.com/storage/volumes/
for more material about networking https://docs.docker.com/network/

from docker-elasticsearch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.