A tiny but valid init for containers
Go to file
Thomas Orozco a11daa9c8e Add configurable verbosity level 2015-02-22 22:33:31 -08:00
.gitignore Rename to a name that isn't already taken 2015-02-22 21:51:54 -08:00
LICENSE Initial commit 2015-02-22 13:23:44 -08:00
Makefile Fixup style, makefile 2015-02-22 21:51:54 -08:00
README.md Add README 2015-02-22 21:58:07 -08:00
config.mk Fixup style, makefile 2015-02-22 21:51:54 -08:00
tini.c Add configurable verbosity level 2015-02-22 22:33:31 -08:00

README.md

Tini - A tiny but valid init for containers

Tini is the simplest init you could think of.

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.

Using Tini

Add Tini to your container, and make it executable.

It's a very small file (10KB range). All Tini depends on is libc.

Once you've added Tini, use it like so:

 tini -- your_program and its args

Note that you can skip the -- above if your program only accepts positional arguments, but it's best to get used to using it.