GithubHelp home page GithubHelp logo

`-daemon` crash about docker HOT 9 OPEN

dogecoin avatar dogecoin commented on June 28, 2024
`-daemon` crash

from docker.

Comments (9)

AbcSxyZ avatar AbcSxyZ commented on June 28, 2024 1

It's interesting to notice, but I'm not sure if and how we should handle this case.

from docker.

patricklodder avatar patricklodder commented on June 28, 2024 1

The only way to handle it is imho to disable -daemon. Problem is it can still be thrown into a config file. So maybe just document it?

from docker.

AbcSxyZ avatar AbcSxyZ commented on June 28, 2024

Tested on ruimarinho/bitcoin-core/, it's crashing too.

from docker.

patricklodder avatar patricklodder commented on June 28, 2024

-daemon needs a root process e.g. init - so that won't work?

from docker.

AbcSxyZ avatar AbcSxyZ commented on June 28, 2024

Yeah we are having this kind of issue, without a running process as pid 1, it's stopping. Depend on the behavior of -daemon.

I'm not sure about the purpose of using a daemonized executable in a container, not really meaningful.

from docker.

xanimo avatar xanimo commented on June 28, 2024

from docker.

xanimo avatar xanimo commented on June 28, 2024

agree with @patricklodder on second thought. i don't think it's necessary since docker itself can run as daemon using -d. my mistake.

from docker.

AbcSxyZ avatar AbcSxyZ commented on June 28, 2024

I was thinking about it and how we should deal with this error. I had an incredible idea : doing nothing.

Regarding the other bitcoin repo, no one is raising issues related to this problem. We may assume users won't really try to use the -deamon option with images, advanced user who use more complex settings may understand the implication or find this PR, and at worst few people can raise an issue.

We need to hope people won't get stuck with an old dogecoin.conf containing deamon setting, it may definitively be confusing where the error is coming from.

Maybe we can leave it like it is, and if people are raising issues related to this point we can adapt the strategy and eventually add it to the doc ? This PR could be a sufficient documentation about this error.

from docker.

patricklodder avatar patricklodder commented on June 28, 2024

Yes, I think we should just keep this issue open for now and keep it in the back of our heads that at some point we may need to do something about it. For now, it's easily negated.

from docker.

Related Issues (19)

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.