![Forrest logo](/images/logo.png)
singularity:tldr:9003f
singularity: Download a remote image from Sylabs Cloud.
$ singularity pull --name ${image-sif} ${library:--godlovedc-funny-lolcow:latest}
try on your machine
This command is a Singularity command used to download a Singularity container image from a container library and save it with a specified name.
Let's break down the components of the command:
singularity pull
: This is the Singularity command used to download and save container images.--name ${image-sif}
: This option specifies the name of the downloaded image and saves it with a.sif
file extension.${image-sif}
is a placeholder that can be replaced with a desired name for the image file.${library:--godlovedc-funny-lolcow:latest}
: This is the library and image name specification. It indicates the container image's location and name to be downloaded.${library}
is a placeholder that can be replaced with the desired library name. The formatusername/repository:tag
is commonly used to specify the library and image name. In this example,--godlovedc-funny-lolcow
is the repository name, andlatest
is the tag referring to the most recent version of the image.
To use this command, replace the placeholders with actual values. For instance, if you want to download an image named myimage.sif
from a library called mylibrary
, you can run the command as follows:
singularity pull --name myimage.sif mylibrary/myimage:latest
This explanation was created by an AI. In most cases those are correct. But please always be careful and
never run a command you are not sure if it is safe.