Caltech Home > Caltech HPC Homepage > Documentation > FAQ > Containers on the Central HPC Cluster
Search open search form

Containers on the Central HPC Cluster

The Central HPC Cluster supports Apptainer Containers (formerly known as Singularity). If you already have docker file, you can often rebuild for apptainer with the existing file.  Apptainer can also pull from dockerhub to build on your local machine or from a cloud build host (cloud build does not require elevated privileges on the cluster to run).

Here we will discuss how to do a cloud build from the Central HPC Cluster:

Get access tokens for the cloud build here:

Load the apptainer module in your shell:

   module load apptainer/1.1.9-gcc-11.3.1-mbji4yi

Run the following command to enter the access token using (paste in the key):

   apptainer remote login

Build remotely and pull to the cluster (example below):

    apptainer build --remote ubuntu.sif docker://ubuntu

In most cases the above will create a runnable apptainer container image. 

    apptainer run ubunutu.sif grep VERSION_ID  /etc/os-release VERSION_ID="18.04"