talira

Apptainer

Portable, reproducible application containers for Linux, built for shared systems and HPC

open sourceBSD-3-Clauseself-hostablefree

Apptainer (formerly Singularity) is an open source container platform designed for shared systems and high performance computing clusters. Containers are single immutable SIF files that can be signed and encrypted and moved between workstations, clusters and the edge; users are the same inside a container as outside and can't gain privileges on the host, so unprivileged users can run containers safely. It favours integration over isolation, giving containers easy access to GPUs, fast interconnects and parallel file systems, and pulls, runs and builds from OCI images such as those on Docker Hub. It is a Linux Foundation project, and the continuation of the original Singularity.

Problems it solves

  • run containers on our HPC cluster where users can't have root or a Docker daemon
  • package a scientific workflow so it runs the same on my laptop and the cluster
  • use GPUs and InfiniBand from inside a container on a shared cluster
  • ship a whole container as a single file I can copy, archive and share
  • sign and encrypt container images so collaborators know they haven't been changed
  • run Docker Hub images on a cluster that doesn't allow Docker
  • migrate our cluster's Singularity containers to a maintained container platform
  • reproduce a published analysis years later with exactly the same software stack

Features

  • single-file SIF container images
  • cryptographic signatures and encryption of containers
  • unprivileged users can run containers without privilege escalation
  • integration with GPUs, high-speed networks and parallel filesystems
  • pulls, runs and builds from OCI registries like Docker Hub
  • integrates with Vault and other secret managers for encrypted containers
  • compatibility with Singularity containers and configuration

Capabilities

Has a command line toolplan not known

Alternatives

The same job

These do what Apptainer does.

  1. Podman A tool for managing OCI containers and pods
  2. Docker Engine Open source container engine: the dockerd daemon, the Docker Engine API and the docker CLI
  3. nerdctl contaiNERD CTL: Docker-compatible CLI for containerd

Compare Apptainer with the top 3