image - Binding file in singularity -


i created singularity image script. need run app using local file parameters script. want o use --bind parameter. works fine if try do:

singularity run --bind /my/source/file:/destination/file my_app_image.img <input.txt >output.txt 

but run directly this:

./my_app_image.img --bind /my/source/file:/destination/file <input.txt >output.txt 

but not work - file not mounted in destination. how can mount file during runtime?

although worked time singularity containers, don't know if possible.

if have call executable in use case, write short wrapper script calls singularity run ... , binds file container.

you can ask question on singularity user list.

p.s. wanted comment, not have enough reputation.


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -