Open sean-smith opened 8 months ago
No since this requires privileges. However:
squashfuse
from within the container as a user to mount itautofs
and set it up for your users. For example assuming the images are stored under /data
(e.g. /data/foo.sqsh
):cat <<EOF > /etc/auto.misc
* -fstype=squashfs,loop,ro,nosuid,nodev :/data/&.sqsh
EOF
systemctl reload autofs
srun --container-image=... --container-mounts=/misc/foo
Thanks Jonathan, we have root access so will try the later.
Is it possible to expose a squashfs via the
--container-mounts
flag in pyxis/enroot?