Detect when Singularity isn't properly configured to mount local folders
See original GitHub issueI am trying to define a CommandLineTool
which is either available via a docker container (pulled from our private repository) or directly from a Singularity image file on the local machine or from an SFTP server but could not find out how to do it.
In the docs I found a hint that Singularity is supported but could not find a field to describe it.
What I want to do is running the tool inside a Docker container OR using a Singularity image with a given path.
Can anyone point me into the right direction?
Issue Analytics
- State:
- Created 4 years ago
- Comments:15 (7 by maintainers)
Top Results From Across the Web
Singularity Configuration Files - Documentation & Examples
All these files can be found in /usr/local/etc/singularity by default ... In order to successfully mount listed paths the file or directory path...
Read more >Files in Singularity containers - The Carpentries Incubator
Files and directories within a Singularity container There is a default configuration of which files and directories are bound into the container but...
Read more >Why does `singularity run/exec` automatically bind specific ...
You can require a user to manually specify a what to mount to /tmp on run, or you can use a sane default...
Read more >HPC Containers & Singularity - Advanced Tutorial - Intel
The Singularity image is checked, parsed, and mounted in the 'CLONE_NEWNS' ... The configuration file defines what is allowed and what is not...
Read more >can't run singularity exec as a regular user - Google Groups
I have a container that I have setup as 'root' . ... ERROR : Check installation path is not mounted with 'nosuid', and/or...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thank you all, indeed it turned out to work like a charm by using
--singularity
😉To summarize: according to https://github.com/sylabs/singularity/issues/3797#issuecomment-505861006 one or more of “underlay” or “overlay” needs to be enabled in “singularity conf”. A future version of Singularity with properly complain if it is not able to mount the directories, in the mean time we should add our own configuration detection logic and provide a better user experience.