Skip to content

No fuse premount in singularity version

Compare
Choose a tag to compare
@poquirion poquirion released this 07 Jun 20:34
· 28 commits to main since this release
  • singularity uses the --fusemount "container:cvmfs2 <repo> <mountpath>" options to mount cvmfs inside the container.

This is the command that makes GenPipes run in a container:

singularity run --cleanenv -S /var/run/cvmfs -B <host_cache_directory>:/cvmfs-cache \
    --fusemount \
      "container:cvmfs2 cvmfs-config.computecanada.ca /cvmfs/cvmfs-config.computecanada.ca" \
    --fusemount "container:cvmfs2 soft.mugqic /cvmfs/soft.mugqic"   \
    --fusemount "container:cvmfs2 ref.mugqic /cvmfs/ref.mugqic" \
    ${SCRIPTPATH}/images/genpipes.sif