Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Detect when Singularity isn't properly configured to mount local folders

See original GitHub issue

I 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:open
  • Created 4 years ago
  • Comments:15 (7 by maintainers)

github_iconTop GitHub Comments

tamasgalcommented, Jun 25, 2019

Thank you all, indeed it turned out to work like a charm by using --singularity 😉

mr-ccommented, Jun 29, 2019

To summarize: according to 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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found