Coder Social home page Coder Social logo

Comments (5)

mariussturm avatar mariussturm commented on May 23, 2024

Awesome, thanks for the detailed report. Will take a look!

from graylog2-images.

mariussturm avatar mariussturm commented on May 23, 2024

The only useful solution I can see here is to ditch the bridged network completely. When I start the container like this: docker run --net=host -t graylog2/allinone the stop/start cycle works.

from graylog2-images.

dfch avatar dfch commented on May 23, 2024

Hi Marius, thanks for your suggestion. However, this would only be something for use in a test environment (as the whole container is completely connected with the host). I had a look at the config of elasticsearch and graylog2 files and it seems that upon first boot the ip address is registered (rather than the hostname). It might be a better approach to register the host name in the config files (and update the hosts file upon every restart). Thanks anyway! Ronald

from graylog2-images.

mariussturm avatar mariussturm commented on May 23, 2024

It would also be possible to let all services listen on localhost in that way no reconfiguration is needed. But this will break the ability to split services into single containers: https://github.com/Graylog2/graylog2-images/tree/master/docker#multi-container-setup which is a main idea of Docker, small services in small containers.

from graylog2-images.

mariussturm avatar mariussturm commented on May 23, 2024

The restart issue should be fixed in the latest container, we connect now all services against localhost. No need to change anything after a container restart.

from graylog2-images.

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.