Version of Singularity:
2.4.2-dist
Steps to reproduce this behavior
Build
MWE.def
BootStrap: docker
From: centos:7
%runscript
echo "HelloWorld!"
sudo singularity build MWE.img MWE.def
run
singularity run MWE.img
Expected behavior
Actual behavior
ERROR : Failed to mount squashfs image in (read only): Invalid argument
ABORT : Retval = 255
What OS/distro are you running
NAME="Ubuntu"
VERSION="20.04.1 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.1 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
Version of Singularity:
2.4.2-distSteps to reproduce this behavior
Build
MWE.def
BootStrap: docker From: centos:7 %runscript echo "HelloWorld!"sudo singularity build MWE.img MWE.defrun
singularity run MWE.imgExpected behavior
Actual behavior
What OS/distro are you running