The correct way to format file paths to allow access to scripts located within a Singularity image from a script outside the image is to use the Singularity URI format. This format is as follows:
singularity://<path_to_file_within_image>
For example, if you want to access a script called "myscript.sh" located in the root directory of your Singularity image "myimage.sif", you would use the following path:
singularity:///myscript.sh
This format specifies that you are accessing a file within a Singularity image, and the triple forward slashes indicate that you are accessing the root directory of the image.
Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss
Asked: 2023-07-08 19:39:21 +0000
Seen: 13 times
Last updated: Jul 08 '23
How to access HTML files stored on Google Drive?
What do the HDF5 warnings mean when trying to access an Xarray DataSet?
How to access an image in an SCSS file on an app that is using Vite_Rails?
How can I access the tree structure of a project in VSCode and Windows 11?
Why isn't the CSS background image being displayed?
What is the method to locally access Files with JCIFS?
How can several goroutines access a shared channel for reading data?