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 -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -