Build a Container

These docs are for Singularity Version 2.5.1. For older versions, see our archive

Use build to download and assemble existing containers, convert containers from one format to another, or build a container from a Singularity recipe.

Overview

The build command accepts a target as input and produces a container as output. The target can be a Singularity Hub or Docker Hub URI, a path to an existing container, or a path to a Singularity Recipe file. The output container can be in squashfs, ext3, or directory format.

For a complete list of build options type singularity help build. For more info on building containers see Build a Container.