Page MenuHomePhabricator

Singularity
Updated 2,001 Days AgoPublic

Compile Singularity

Install Dependencies

sudo apt-get update && \
    sudo apt-get install \
    python \
    dh-autoreconf \
    build-essential \
    libarchive-dev
sudo -i
cd /opt
git clone https://github.com/sylabs/singularity.git
cd singularity
git fetch --all
git checkout 2.6.0
./autogen.sh
./configure --prefix=/usr/local
make -j 2
sudo make install

Basic Singularity Workflow

#Pull the Ubuntu 16.04 container from docker.
singularity build --sandbox my-container-ubuntu1604 docker://ubuntu:16.04 

#Open up a bash shell for the container
singularity shell --writable my-container-ubuntu1604

#Build an .simg file for use on pronghorn.
singularity build my-container-ubuntu1604.simg my-container-ubuntu1604
Last Author
newellz2
Last Edited
Nov 1 2018, 9:22 AM

Event Timeline

newellz2 edited the content of this document. (Show Details)
newellz2 edited the content of this document. (Show Details)
newellz2 edited the content of this document. (Show Details)