Automic VaultAutomic Vault

brew

使用 Homebrew, apk, apt, dnf, Nix, zypper 安装 tini

查看 tini 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install tini

local Homebrew formula metadata

Linux

Alpine Linux apk已验证 · 92%
sudo apk add tini

Alpine Linux edge package indexes · tini · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install tini

Debian stable package indexes · tini · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install tini

Fedora Rawhide package metadata · tini · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#tini

nixpkgs package indexes · pkgs/by-name/ti/tini/package.nix · 来源: api.github.com

openSUSE zypper已验证 · 92%
sudo zypper install tini

openSUSE Tumbleweed package metadata · tini · 来源: download.opensuse.org

概览

软件包摘要

Tiny but valid init for containers

命令和别名

  • docker-init
  • tini
  • tini-static

历史

项目历史与用法

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.

安全态势

风险级别:orange

infrastructure mutation or orchestration signal.

风险分类器

orange 风险 · 中 置信度 · infrastructure

原因

  • infrastructure mutation or orchestration signal

信号

  • text:container

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 2 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
docker-initcli全局可执行文件
tinicli全局可执行文件
tini-staticcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本0.19.0
管理器更新时间
本地数据OK
上游当前
检测到的最新版本v0.19.0

https://github.com/krallin/tini

  • 信息No package-manager update timestamp was available.低 置信度

安装元数据

软件包元数据

软件包键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 DatabaseHomebrew formula API
Taphomebrew/core
Full Nametini
Version Scheme0
Revision0
Head VersionHEAD
Requirements
  • linux
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

tini 0.19.0-3+b7

tiny but valid init for containers

https://github.com/krallin/tini

sudo apt install tini
  • Section: utils
  • Architecture: amd64
  • Source Package: tini
  • 1 依赖
  • normalized package name match
  • 匹配方式:Tini
Debian stable package indexes · deb.debian.org · Debian stable package indexes: tini from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

tini

nix profile install nixpkgs#tini
  • normalized package name match
  • 匹配方式:Tini
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ti/tini/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

tini 0.19.0-1

tiny but valid init for containers

https://github.com/krallin/tini

sudo apt install tini
  • Section: universe/utils
  • Architecture: amd64
  • 1 依赖
  • normalized package name match
  • 匹配方式:Tini
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: tini from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

tini 0.19.0-r3

A tiny but valid init for containers

https://github.com/krallin/tini

sudo apk add tini
  • License: MIT
  • Architecture: x86_64
  • Source Package: tini
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Tini
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: tini from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

tini-static 0.19.0-r3

Static build of tini

https://github.com/krallin/tini

sudo apk add tini-static
  • License: MIT
  • Architecture: x86_64
  • Source Package: tini
  • 1 提供
  • normalized package name match
  • 匹配方式:Tini
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: tini-static from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

tini 0.19.0-12.fc44

A tiny but valid init for containers

https://github.com/krallin/tini

sudo dnf install tini
  • License: MIT
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: tini
  • 2 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Tini
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: tini from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

tini-static 0.19.0-12.fc44

Standalone static build of tini

https://github.com/krallin/tini

sudo dnf install tini-static
  • License: MIT
  • Category: Unspecified
  • Architecture: i686
  • Source Package: tini
  • 1 提供
  • normalized package name match
  • 匹配方式:Tini
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: tini-static from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
zypper95%

tini 0.19.0-3.3

A tiny but valid init for containers

https://github.com/krallin/tini

sudo zypper install tini
  • License: MIT
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: tini
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Tini
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: tini from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

tini-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-static
  • License: MIT
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: tini
  • 1 提供
  • normalized package name match
  • 匹配方式:Tini
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: tini-static from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
Nix92%

docker-init

nix profile install nixpkgs#docker-init
  • installed executable or alias match
  • 匹配方式:Docker Init
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/do/docker-init/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment