# tini を Homebrew, apk, apt, dnf, Nix, zypper でインストール

tini のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:tini
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install tini
```

  証拠: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add tini
```

  証拠: Alpine Linux edge package indexes: tini from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install tini
```

  証拠: Debian stable package indexes: tini from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install tini
```

  証拠: Fedora Rawhide package metadata: tini from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#tini
```

  証拠: nixpkgs package indexes: pkgs/by-name/ti/tini/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- zypper (92%):

```sh
sudo zypper install tini
```

  証拠: openSUSE Tumbleweed package metadata: tini from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## パッケージ情報

- **パッケージキー:** brew:tini
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.19.0
- **ソース概要:** Tiny but valid init for containers
- **ホームページ:** <https://github.com/krallin/tini>
- **リポジトリ:** <https://github.com/krallin/tini>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- docker-init (エイリアス)
- tini (エイリアス)
- tini-static (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 0.19.0
## プロジェクトの歴史と使われ方

Tini is a small init process for containers. It became widely known because it solves the PID 1 problem in Docker-style containers: reaping zombie processes and forwarding signals while staying transparent to the application.

### プロジェクトの歴史

Tini's README defines the project in intentionally minimal terms: it spawns one child process, waits for it to exit, reaps zombies, and forwards signals. That narrow scope is the project's identity; it is not a process supervisor, service manager, or orchestration layer.

The first visible tag in the official repository is v0.1.0 in 2015, and the release stream continued through v0.19.0 in 2020. Over that period the README grew into a container-packaging guide: download a signed binary, verify checksums, add it as an ENTRYPOINT, or install it from a distribution package.

### 採用の歴史

Tini's adoption story is unusually strong for a tiny utility because Docker incorporated it. The README states that Docker 1.13 and later include Tini and enable it with docker run --init; Docker's own prior release notes describe the --init flag as using Tini as a zombie-reaping PID 1.

The README also documents Alpine Linux, NixOS, Debian, and Arch packaging, plus prebuilt Docker images. The supplied package-manager facts add Homebrew, Fedora/dnf, Ubuntu, and zypper, showing that package managers treat Tini as a standalone utility even after Docker embedded it.

### 使われ方

The common manual use is to install a Tini binary into a container image and set ENTRYPOINT to run Tini before the real application. Tini then handles signal forwarding and child reaping, preserving application behavior while making container shutdown and cleanup more predictable.

Operators can also use options for subreaping when Tini is not PID 1, exit-code remapping for cases such as SIGTERM exit 143, and process-group killing for shell wrappers or child process trees.

### パッケージ好きにとっての重要性

Tini is package-nerd catnip because it is almost the smallest possible program that became infrastructure. It turned a subtle Linux/container semantic problem into a single binary that distros, Docker images, and Docker itself could depend on.

Its packaging story also shows how a tool can move from GitHub release asset, to distro package, to embedded runtime component, while still remaining useful as an explicit package for users outside Docker's default path.

### タイムライン

- 2015: v0.1.0 appears in the official repository tag history.
- 2017: Docker 1.13 added --init support using Tini as a zombie-reaping PID 1.
- 2018: The project published v0.18.0.
- 2020: The project published v0.19.0, the current release shown by the official GitHub release list inspected for this batch.

### Related projects

- Docker is the most important downstream adopter; Docker 1.13 integrated Tini behind the --init flag.
- dumb-init occupies a similar container-init niche.
- Linux subreaper behavior is part of Tini's option model when it cannot run as PID 1.

### ソース

- GitHub official releases API output inspected for v0.19.0 and earlier releases.
- <https://docs.docker.com/engine/release-notes/prior-releases/: Docker --init release note using Tini.>
- <https://github.com/krallin/tini README: project purpose, Docker 1.13 note, install methods, options.>
- source_facts.package-manager: package availability across package managers.


## セキュリティノート

infrastructure mutation or orchestration signal.

- **Geiger リスク:** orange / 中
- infrastructure mutation or orchestration signal

## 他のパッケージマネージャ記録

- Debian apt - tini - 0.19.0-3+b7: normalized package name match | Debian stable package indexes: tini from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | tiny but valid init for containers | https://github.com/krallin/tini
- Nix - tini: normalized package name match | nixpkgs package indexes: pkgs/by-name/ti/tini/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - tini - 0.19.0-1: normalized package name match | Ubuntu 24.04 LTS package indexes: tini from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | tiny but valid init for containers | https://github.com/krallin/tini
- apk - tini - 0.19.0-r3: normalized package name match | Alpine Linux edge package indexes: tini from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A tiny but valid init for containers | https://github.com/krallin/tini
- apk - tini-static - 0.19.0-r3: normalized package name match | Alpine Linux edge package indexes: tini-static from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Static build of tini | https://github.com/krallin/tini
- dnf - tini - 0.19.0-12.fc44: normalized package name match | Fedora Rawhide package metadata: tini from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | A tiny but valid init for containers | https://github.com/krallin/tini
- dnf - tini-static - 0.19.0-12.fc44: normalized package name match | Fedora Rawhide package metadata: tini-static from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Standalone static build of tini | https://github.com/krallin/tini
- zypper - tini - 0.19.0-3.5: normalized package name match | openSUSE Tumbleweed package metadata: tini from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | A tiny but valid init for containers | https://github.com/krallin/tini
- zypper - tini-static - 0.19.0-3.5: normalized package name match | openSUSE Tumbleweed package metadata: tini-static from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | A tiny but valid init for containers, with libc linked statically | https://github.com/krallin/tini
- Nix - docker-init: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/do/docker-init/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/tini.yml](https://github.com/mxcl/pkgdb/blob/main/combined/tini.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
