Hacker GitHub

← All repos

krallin/tini

View on GitHub ↗ ★ 11,282 C

A tiny but valid `init` for containers

27 mentions on Hacker News by 27 people: 5 stories, 22 comments · first 2015-03-01 · latest 2025-10-14

Mentions per year 27 mentions · busiest year 2022 (4)
20082026
  1. …spawn a child python process? Yes, I suppose you could use it in conjunction with something like https://github.com/krallin/tini .
    comment by diath · 2025-10-14 · in Uv overtakes pip in CI
  2. …overhead. I'd recommend reading the tini readme[0] and its linked discussion for full detail. [0]: https://github.com/krallin/tini
  3. S6 is way more complex and rich. Nitro or runit would be simpler alternatives; maybe even https://github.com/krallin/tini .
  4. ▲ 31
    Tini: A tiny but valid `init` for containers
    story by thunderbong · 2025-04-20 · 2 comments
  5. Looks similar to tini [1]. — 1: https://github.com/krallin/tini
    comment by emmanueloga_ · 2024-04-01 · in Anakin – Automatically Kill Orphans
  6. yes busybox httpd or civetweb is even smaller, both around 300kb. for tini you mean https://github.com/krallin/tini ? how large is your final docker image, why not just alpine in that case which is musl+busybox
  7. Ah gotcha. I believe it can be baked into images as well, per the entrypoint example in the readme: https://github.com/krallin/tini Not sure how this will fare IRL in k8s as I haven’t much experience there. It’s still silly that this is…
    comment by corytheboyd · 2023-10-17 · in Should you be scared of Unix signals? (2016)
  8. …I just read in the README that Tini is included by Docker since 1.13 if using --init flag. [1] https://github.com/krallin/tini
    comment by Sayrus · 2023-10-08 · in The Tailscale Universal Docker Mod
  9. …an init-providing process of some sort but you likely want to use tini. See for more details: https://github.com/krallin/tini/issues/8#issuecomment-146135...
  10. …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
  11. For some examples of what to do, see https://github.com/Yelp/dumb-init https://github.com/krallin/tini
  12. …tini binary to /sbin: ENTRYPOINT ["/sbin/tini", "--"] CMD ["node", "/path/to/main/process.js"] [0]: https://github.com/krallin/tini edit: formatting, sorry.
    comment by nicholasjarnold · 2022-01-06 · in Optimizing Docker image size and why it matters
  13. …I heard you can technically run in a container these days, but I've never seen anyone try. [1] https://github.com/krallin/tini [2] https://github.com/Supervisor/supervisor
    comment by onei · 2021-06-12 · in Containers are tents
  14. …This includes all versions of Docker CE. To enable Tini, just pass the `--init` flag to docker run. https://github.com/krallin/tini#why-tini
  15. …p OS variants times q hardware architectures, each producing a different binary... random example https://github.com/krallin/tini/releases/tag/v0.19.0 has 114 assets.
    comment by s_gourichon · 2020-07-23 · in The History, Status, and Future of FPGAs
  16. ▲ 1
    What Is Advantage of Tini?(2015)
    story by lhuser123 · 2020-01-18 · 0 comments
  17. …or a tiny C wrapper. Look at every freaking Docker container in the world - they all use tini ( https://github.com/krallin/tini ), the tiniest, most dinky init tool ever made, because it's totally fine to use something small and stupid to…
    comment by peterwwillis · 2019-09-06 · in Why doesn’t anyone weep for Docker?
  18. ▲ 2
    Tini: A tiny but valid `init` for containers
    story by yarapavan · 2019-03-19 · 0 comments
  19. …and is now built in to docker itself[1]. Systemd is way heavy and overkill inside docker. [1] https://github.com/krallin/tini
  20. Since version 1.13 Docker has a built-in init based on https://github.com/krallin/tini
    comment by ofrzeta · 2018-07-06 · in Walkthrough for Systemd Portable Services
  21. Would Tini help? https://github.com/krallin/tini/blob/master/README.md
    comment by aisofteng · 2018-06-05 · in Observations running 2M headless sessions
  22. …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
  23. Sidenote: this Docker native implementation uses Tini ( https://github.com/krallin/tini#using-tini )
  24. ▲ 1
    A tiny but valid `init` for containers
    story by mafro · 2016-06-17 · 0 comments
  25. …as what little you actually need to do is very trivial. [1] http://git.suckless.org/sinit [2] https://github.com/krallin/tini [3] https://gist.github.com/vidarh/91a110792c86d6c3bb41
    comment by vidarh · 2016-03-03 · in Systemd vs. Docker
  26. This looks to be an alternative https://github.com/krallin/tini
  27. ▲ 2
    Show HN: Tini, a self-contained valid init process for (Docker) containers
    story by krallin · 2015-03-01 · 0 comments