Hacker GitHub

← All repos

Yelp/dumb-init

View on GitHub ↗ ★ 7,314 Python

A minimal init system for Linux containers

19 mentions on Hacker News by 17 people: 2 stories, 17 comments · first 2016-01-07 · latest 2025-07-13

Mentions per year 19 mentions · busiest year 2022 (6)
20082026
  1. GitHub Repository: https://github.com/Yelp/dumb-init
  2. …ut-systemd.org/wiki/index_php/Init/#standalone_... And there are other alternatives as well, such as: https://github.com/Yelp/dumb-init https://github.com/krallin/tini
    comment by nousermane · 2022-05-27 · in Without Systemd
  3. …you totally should, for single-app VMs), boot times of couple of seconds are within reach. [0] https://github.com/Yelp/dumb-init
    comment by nousermane · 2022-05-25 · in Fly Machines: An API for Fast-Booting VMs
  4. Great write-up, but, why not just use dumb-init? https://github.com/Yelp/dumb-init
  5. For some examples of what to do, see https://github.com/Yelp/dumb-init https://github.com/krallin/tini
  6. …signals, but I prefer to not have to make this assumption and use an init system instead. [1] https://github.com/Yelp/dumb-init
  7. …r.com/engine/reference/commandline/run/#op... My recollection is that it either adopted, or inspired, https://github.com/Yelp/dumb-init#readme which folks used to put into their Dockerfile as the init system back in the day Folks (ahem,…
    comment by mdaniel · 2022-01-25 · in Systemd by Example
  8. Maybe you wouldn't want systemd, but a basic init system as PID 1 is wise for a Docker container. See https://github.com/Yelp/dumb-init
    comment by tomjakubowski · 2019-01-29 · in Systemd as tragedy
  9. …but you do need to make sure to handle signals properly - there are special requirements for PID 1. https://github.com/Yelp/dumb-init/blob/master/README.md has a niceish explanation.
  10. …zombie processes hanging around (which do retain some memory footprint). Read more about that here: https://github.com/Yelp/dumb-init#why-you-need-an-init-syste...
    comment by mrskitch · 2018-06-05 · in Observations running 2M headless sessions
  11. …since 1.7.0, Kubernetes actually does automatically do this for you), so you could add e.g. https://github.com/Yelp/dumb-init or https://github.com/krallin/tini (both officially recommended by the Docker team)
    comment by kuschku · 2017-12-11 · in Kubernetes Best Practices
  12. ▲ 2
    Dumb Init
    story by rdpfeffer · 2017-10-23 · 0 comments
  13. …with a full init system, and the README has a thorough explanation of why and how dumb-init works. https://github.com/Yelp/dumb-init
    comment by tomjakubowski · 2017-09-03 · in Perl as PID 1 under Docker
  14. Any reason you didn't go with something like dumb-init[1]? [1] https://github.com/Yelp/dumb-init
    comment by talideon · 2017-06-03 · in GNU Shepherd
  15. …tini (another such init) in the README as being "not as simple as it should be". We're using https://github.com/Yelp/dumb-init at work; if you know it, what do you think of it?
    comment by majewsky · 2017-06-03 · in GNU Shepherd
  16. ▲ 4
    Dumb-init minimal init system for linux containers (by Yelp)
    story by avitzurel · 2016-05-30 · 0 comments
  17. Also see https://github.com/Yelp/dumb-init that is 20K statically built executable perfect for resource constrained containers that have to deal with reaping of arbitrary children.
    comment by _0w8t · 2016-03-03 · in Systemd vs. Docker
  18. We use dumb-init[1] to handle containers with multiple processes when it's necessary. [1] https://github.com/Yelp/dumb-init
    comment by itajaja · 2016-03-01 · in Things to avoid in Docker containers
  19. …to run the process is safer. Now if people would just start using lightweight containers... [1]: https://github.com/Yelp/dumb-init/issues/44