User Tools

back to : Mrowisko / Anthill ver 0.4

apptainer

Apptainer (formerly Singularity) simplifies the creation and execution of containers, ensuring software components are encapsulated for portability and reproducibility.

Doc : https://apptainer.org/documentation/

test

Simple example to test apptainer. Runs Appine container and extracts information within its files ( /etc/alpine-release).

tmatejuk@jumphost-17:~$ srun -c1 --mem=14G --pty bash -l

tmatejuk@node098:~$ apptainer --version
apptainer version 1.4.3
tmatejuk@node098:~$ 

tmatejuk@node098:~$ apptainer exec docker://alpine cat /etc/alpine-release
INFO:    Converting OCI blobs to SIF format
WARNING: 'nodev' mount option set on /tmp, it could be a source of failure during build process
INFO:    Starting build...
INFO:    Fetching OCI image...
3.6MiB / 3.6MiB [=============================================================================================] 100 %0s
INFO:    Extracting OCI image...
INFO:    Inserting Apptainer configuration...
INFO:    Creating SIF file...
[============================================================================================================] 100 % 0s
3.22.2
tmatejuk@node098:~$

tmatejuk@node098:~$ exit
logout
tmatejuk@jumphost-17:~$

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also, you acknowledge that you have read and understand our Privacy Policy. If you do not agree, please leave the website.

More information