I'm trying to build and run a simple apptainer image on my arch linux machine; running as root or another user doesn't help

~ apptainer run HelloWorld.sif 
FATAL:   container creation failed: mount /proc/self/fd/3->/var/lib/apptainer/mnt/session/rootfs error: while mounting image /proc/self/fd/3: failed to find loop device: could not attach image file to loop device: failed to attach loop device: could not open /dev/loop0: no such device or address

➜  apptainer ls -l /dev/loop0
brw-r----- 1 root disk 7, 0 Sep 23 11:09 /dev/loop0
➜  apptainer 

This image is defined by;

Bootstrap: docker
From: ubuntu:20.04

    apt-get -y update && apt-get install -y python
    python -c 'print("Hello World! Hello from our custom Singularity image!")'%  

Any ideas please?


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.