All Tini does is spawn a single child (Tini is meant to be run in a container), and wait for it to exit all the while reaping zombies and performing signal forwarding. It protects you from software that accidentally creates zombie processes, which can (over time!) starve your entire system for PIDs (and make it unusable). It ensures that the default signal handlers work for the software you run in your Docker image. For example, with Tini, SIGTERM properly terminates your process even if you didn't explicitly install a signal handler for it. It does so completely transparently! Docker images that work without Tini will work with Tini without any changes. Add Tini to your container, and make it executable. Then, just invoke Tini and pass your program and its arguments as arguments to Tini.

Features

  • Tini will reuse the child's exit code when exiting
  • By default, Tini needs to run as PID 1
  • ARM and 32-bit binaries are available!
  • Tini only kills its immediate child process
  • Tini can set its parent death signal
  • Tini can also be used with an existing entrypoint in your container!

Project Samples

Project Activity

See All Activity >

Categories

Init

License

MIT License

Follow Tini

Tini Web Site

You Might Also Like
Our Free Plans just got better! | Auth0 by Okta Icon
Our Free Plans just got better! | Auth0 by Okta

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your secuirty. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Tini!

Additional Project Details

Operating Systems

Linux

Programming Language

C

Related Categories

C Init Software

Registered

2021-09-15