macOS
brew install tinilocal Homebrew formula metadata
安装
brew install tinilocal Homebrew formula metadata
sudo apk add tiniAlpine Linux edge package indexes · tini · 来源: dl-cdn.alpinelinux.org
sudo dnf install tiniFedora Rawhide package metadata · tini · 来源: dl.fedoraproject.org
nix profile install nixpkgs#tininixpkgs package indexes · pkgs/by-name/ti/tini/package.nix · 来源: api.github.com
sudo zypper install tiniopenSUSE Tumbleweed package metadata · tini · 来源: download.opensuse.org
概览
Tiny but valid init for containers
历史
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.
安全态势
infrastructure mutation or orchestration signal.
orange 风险 · 中 置信度 · infrastructure
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
docker-init | cli | 全局可执行文件 | |
tini | cli | 全局可执行文件 | |
tini-static | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/krallin/tini
安装元数据
| 软件包键 | brew:tini |
|---|---|
| 版本 | 0.19.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/tini |
| 主页 | https://github.com/krallin/tini |
| 仓库 | https://github.com/krallin/tini |
| 上游文档 | https://github.com/krallin/tini#readme |
| 许可证 | MIT |
| 源码归档 | https://github.com/krallin/tini/archive/refs/tags/v0.19.0.tar.gz |
| 构建依赖 | cmake |
| Bottle | 可用 (于 arm64_linux, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | tini |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Requirements |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
tini 0.19.0-3+b7
tiny but valid init for containers
https://github.com/krallin/tini
sudo apt install tinitini
nix profile install nixpkgs#tinitini 0.19.0-1
tiny but valid init for containers
https://github.com/krallin/tini
sudo apt install tinitini 0.19.0-r3
A tiny but valid init for containers
https://github.com/krallin/tini
sudo apk add tinitini-static 0.19.0-r3
Static build of tini
https://github.com/krallin/tini
sudo apk add tini-statictini 0.19.0-12.fc44
A tiny but valid init for containers
https://github.com/krallin/tini
sudo dnf install tinitini-static 0.19.0-12.fc44
Standalone static build of tini
https://github.com/krallin/tini
sudo dnf install tini-statictini 0.19.0-3.3
A tiny but valid init for containers
https://github.com/krallin/tini
sudo zypper install tinitini-static 0.19.0-3.3
A tiny but valid init for containers, with libc linked statically
https://github.com/krallin/tini
sudo zypper install tini-staticdocker-init
nix profile install nixpkgs#docker-init来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.