back to : Mrowisko / Anthill ver 0.4
Apptainer (formerly Singularity) simplifies the creation and execution of containers, ensuring software components are encapsulated for portability and reproducibility.
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:~$