Tini, a tiny but valid init for Docker containers
100K+
This is a repository of automated builds for Tini, a tiny but valid init for Docker containers.
In a nutshell, Tini:
If you are using an Ubuntu or CentOS image as your base, just update your Dockerfile to use the Tini images instead. Note that these images are created with Docker automated builds; there are no binary blobs shipping here!
If you aren't using one of those images, check the Tini repository for alternative install instructions.
# Change this:
FROM ubuntu:trusty
# To this:
FROM krallin/ubuntu-tini:trusty
The Tini images ship with an ENTRYPOINT that points to Tini. If you have
your own ENTRYPOINT already, just prefix it with Tini:
# Change this:
ENTRYPOINT ["/docker-entrypoint.sh"]
# To this:
ENTRYPOINT ["/usr/local/bin/tini", "--", "/docker-entrypoint.sh"]
If you're not using an ENTRYPOINT, you don't have to do anyting.
Visit the Docker hub for a list of tags that are available:
Content type
Image
Digest
sha256:fe681211b…
Size
28.3 MB
Last updated
over 7 years ago
docker pull krallin/ubuntu-tini