CmdID

CmdID / Commands

apptainer-build

Build Apptainer container images. tldr-pages

On Linux

Opens CmdID with your command. It is read in your browser and sent nowhere.

Build a container from a definition file

apptainer build path/to/image.sif path/to/definition.defIdentify

Build a container from Docker Hub

apptainer build path/to/image.sif docker://image:tagIdentify

Build a container from the Container Library

apptainer build path/to/image.sif library://user/collection/container:tagIdentify

Build a writable sandbox directory instead of an image file

apptainer build --sandbox path/to/directory docker://image:tagIdentify

Build a container without using the cache

apptainer build --disable-cache path/to/image.sif docker://image:tagIdentify

Force overwrite an existing image file

apptainer build --force path/to/image.sif path/to/definition.defIdentify

Build using fakeroot for unprivileged builds

apptainer build --fakeroot path/to/image.sif path/to/definition.defIdentify

Display help

apptainer build --helpIdentify