Automic VaultAutomic Vault

brew

使用 Homebrew, apk, dnf, pacman, zypper, apt 安装 apptainer

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install apptainer

local Homebrew formula metadata

Linux

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

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

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

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

Arch Linux pacman已验证 · 92%
sudo pacman -S apptainer

Arch Linux sync databases · apptainer · 来源: geo.mirror.pkgbuild.com

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

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

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

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

概览

软件包摘要

Application container and unprivileged sandbox platform for Linux

命令和别名

  • apptainer
  • run-singularity
  • singularity

历史

项目历史与用法

Apptainer is an open-source Linux container platform focused on high-performance computing, reproducibility, security, and unprivileged execution. It is the Linux Foundation continuation and rename of the community Singularity project.

项目历史

The user guide says Apptainer was first developed at Lawrence Berkeley National Laboratory to run complex applications on HPC clusters in a simple, portable, and reproducible way. It became popular at HPC and academic sites before expanding into industry.

In November 2021, the project announced that Singularity was moving into the Linux Foundation and being renamed Apptainer to avoid confusion with other Singularity-named products and to keep the project under community governance. The announcement says the first Apptainer release would be 1.0 in a new GitHub repository.

The Apptainer changelog records v1.0.0 in March 2022. That release changed the primary executable from `singularity` to `apptainer`, renamed `/etc/singularity` to `/etc/apptainer`, migrated per-user configuration from `~/.singularity` to `~/.apptainer`, and retained a `singularity` command symlink for compatibility.

The v1.1.0 release in September 2022 made a major packaging and security shift: Apptainer no longer installed a setuid-root component by default, relying instead on unprivileged user namespaces for most operations and moving the setuid portion into optional packaging.

采用历史

Apptainer's adoption is strongest in HPC because it maps container workflows onto shared clusters where Docker's daemon model, root privileges, and isolation defaults are often a poor fit. Its docs emphasize single-file SIF images, integration with GPUs and high-speed filesystems, and preserving the user's host identity by default.

The compatibility strategy helped adoption after the rename. Official docs describe SIF image compatibility, support for `SINGULARITY_` environment variables during transition, a `singularity` symlink to the same binary, and automatic user configuration migration.

Distribution packaging matters because Apptainer is used on managed systems: clusters often install it centrally, admins control global configuration under `/etc/apptainer` or `/usr/local/etc/apptainer`, and users keep remotes, keys, caches, and registry credentials under `~/.apptainer`.

使用方式

Users build, pull, run, shell into, and exec containers with the `apptainer` CLI. Typical sources include SIF files, Docker/OCI registries, ORAS endpoints, and definition files used to build reproducible scientific or commercial software environments.

Administrators tune `apptainer.conf` for setuid behavior, namespaces, bind mounts, networking, GPUs, cgroups, and helper binary paths. Remote endpoints and keyserver settings are managed through `remote.yaml`; login commands store endpoint credentials, and OCI registry credentials can live in `~/.apptainer/docker-config.json` or a custom `--authfile`.

为什么软件包爱好者会关心

Apptainer is a packaging story about containers for places where containers are infrastructure, not just developer convenience. It packages runtime policy, SIF image handling, OCI interop, user namespace tradeoffs, cluster admin controls, and backwards compatibility with a large Singularity install base.

For package nerds, the rename is especially interesting because the package intentionally ships compatibility: old command names, old environment variable prefixes, image-format stability, and migration from old user config directories. That reduced the blast radius of a governance and trademark-driven project transition.

时间线

  • 2017: User docs copyright history reflects the Sylabs/Singularity era.
  • 2021: Community announcement says Singularity moved to the Linux Foundation and was renamed Apptainer.
  • 2022: Changelog records Apptainer v1.0.0.
  • 2022: Changelog records v1.1.0 changing the default away from setuid-root installation.
  • 2024: Changelog records v1.3.x releases with OCI, packaging, and filesystem fixes.
  • 2026: Main user/admin docs continue under the Apptainer project.

Related projects

  • Singularity is the original project lineage and compatibility target.
  • SingularityCE/Sylabs Singularity is the related fork/product line discussed in the rename announcement.
  • SIF is the container image format shared across Apptainer and Singularity workflows.
  • OCI/Docker registries and ORAS endpoints are supported container sources and publication targets.

安全态势

风险级别:orange

infrastructure mutation or orchestration signal.

风险分类器

orange 风险 · 中 置信度 · infrastructure

原因

  • infrastructure mutation or orchestration signal

信号

  • text:container

安装行为

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

建议审查

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

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Linux
/usr/local/etc/apptainer/apptainer.conf/etc/apptainer/apptainer.conf/usr/local/etc/apptainer/remote.yaml/etc/apptainer/remote.yaml

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
~/.apptainer/remote.yaml~/.apptainer/docker-config.json

可执行文件

已安装的可执行文件

命令类型暴露范围备注
apptainercli全局可执行文件
run-singularitycli全局可执行文件
singularitycli全局可执行文件

新鲜度

版本和新鲜度

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

页面生成时间2026-07-10
管理器版本1.5.2
管理器更新时间2026-06-23
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/apptainer/apptainer

安装元数据

软件包元数据

软件包键brew:apptainer
版本1.5.2
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/apptainer
主页https://apptainer.org/
仓库https://github.com/apptainer/apptainer
上游文档https://apptainer.org/docs/admin/main
许可证BSD-3-Clause
源码归档https://github.com/apptainer/apptainer/releases/download/v1.5.2/apptainer-1.5.2.tar.gz
最后更新2026-06-23T23:30:10Z
Pulseupdated
依赖libseccomp, squashfs
构建依赖go, pkgconf
Bottle可用 (于 arm64_linux, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameapptainer
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 软件包链接分开显示。

apk95%

apptainer 1.5.1-r0

Application containers for Linux

https://apptainer.org/

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

apptainer-bash-completion 1.5.1-r0

Bash completions for apptainer

https://apptainer.org/

sudo apk add apptainer-bash-completion
  • License: BSD-3-Clause AND BSD-3-Clause-LBNL
  • Architecture: x86_64
  • Source Package: apptainer
  • normalized package name match
  • 匹配方式:Apptainer
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: apptainer-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

apptainer-doc 1.5.1-r0

Application containers for Linux (documentation)

https://apptainer.org/

sudo apk add apptainer-doc
  • License: BSD-3-Clause AND BSD-3-Clause-LBNL
  • Architecture: x86_64
  • Source Package: apptainer
  • normalized package name match
  • 匹配方式:Apptainer
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: apptainer-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

apptainer-suid 1.5.1-r0

Application containers for Linux (SUID helper binary)

https://apptainer.org/

sudo apk add apptainer-suid
  • License: BSD-3-Clause AND BSD-3-Clause-LBNL
  • Architecture: x86_64
  • Source Package: apptainer
  • 1 依赖
  • normalized package name match
  • 匹配方式:Apptainer
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: apptainer-suid from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

apptainer 1.5.0-1.fc45

Application and environment virtualization formerly known as Singularity

https://apptainer.org

sudo dnf install apptainer
  • License: LicenseRef-Callaway-BSD AND BSD-3-Clause-LBNL AND Apache-2.0
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: apptainer
  • 18 依赖
  • 4 提供
  • normalized package name match
  • 匹配方式:Apptainer
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: apptainer from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

apptainer-suid 1.5.0-1.fc45

Setuid component of Apptainer

https://apptainer.org

sudo dnf install apptainer-suid
  • License: LicenseRef-Callaway-BSD AND BSD-3-Clause-LBNL AND Apache-2.0
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: apptainer
  • 7 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Apptainer
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: apptainer-suid from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

apptainer 1.5.1-1

Application containers for secure high performance computing

https://apptainer.org/

sudo pacman -S apptainer
  • License: BSD-3-Clause AND BSD-3-Clause-LBNL
  • Architecture: x86_64
  • 9 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Apptainer
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: apptainer from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

apptainer 1.4.5-6.1

Application and environment virtualization

https://apptainer.org

sudo zypper install apptainer
  • License: BSD-3-Clause-LBNL AND OpenSSL
  • Category: Productivity/Clustering/Computing
  • Architecture: x86_64
  • Source Package: apptainer
  • 6 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Apptainer
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: apptainer from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

apptainer-leap 1.4.5-6.1

Apptainer Definition File Templates for current openSUSE Leap

https://apptainer.org

sudo zypper install apptainer-leap
  • License: BSD-3-Clause-LBNL AND OpenSSL
  • Category: Productivity/Clustering/Computing
  • Architecture: noarch
  • Source Package: apptainer
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Apptainer
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: apptainer-leap from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
Debian apt92%

singularity 1.0.0+git20241231-3

game where one becomes the singularity

https://singularity.github.io/

sudo apt install singularity
  • Section: games
  • Architecture: all
  • 5 依赖
  • 2 可选依赖
  • installed executable or alias match
  • 匹配方式:Singularity
Debian stable package indexes · deb.debian.org · Debian stable package indexes: singularity from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt92%

singularity 1.0.0-1

game where one becomes the singularity

https://singularity.github.io/

sudo apt install singularity
  • Section: universe/games
  • Architecture: all
  • 5 依赖
  • 2 可选依赖
  • installed executable or alias match
  • 匹配方式:Singularity
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: singularity from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk92%

singularity 4.4.2-r0

Application containers focused on reproducibility for scientific computing and HPC world.

https://www.sylabs.io/singularity/

sudo apk add singularity
  • License: BSD-3-Clause AND BSD-3-Clause-LBNL
  • Architecture: x86_64
  • Source Package: singularity
  • 1 依赖
  • 1 提供
  • installed executable or alias match
  • 匹配方式:Singularity
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: singularity from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk92%

singularity-bash-completion 4.4.2-r0

Bash completions for singularity

https://www.sylabs.io/singularity/

sudo apk add singularity-bash-completion
  • License: BSD-3-Clause AND BSD-3-Clause-LBNL
  • Architecture: x86_64
  • Source Package: singularity
  • installed executable or alias match
  • 匹配方式:Singularity
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: singularity-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk92%

singularity-doc 4.4.2-r0

Application containers focused on reproducibility for scientific computing and HPC world. (documentation)

https://www.sylabs.io/singularity/

sudo apk add singularity-doc
  • License: BSD-3-Clause AND BSD-3-Clause-LBNL
  • Architecture: x86_64
  • Source Package: singularity
  • installed executable or alias match
  • 匹配方式:Singularity
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: singularity-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
pacman92%

singularity 1.1-3

Endgame: Singularity - simulation of true AI

http://emhsoft.com/singularity/index.html

sudo pacman -S singularity
  • License: GPL-2.0-or-later AND CC-BY-SA-3.0 AND CC0-1.0
  • Architecture: any
  • 4 依赖
  • installed executable or alias match
  • 匹配方式:Singularity
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: singularity from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

来源线索

由仓库数据生成

此页面由 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 configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment