This is a test version of Biostars. For the public version, visit https://www.biostars.org.
using a singualrity application ARGs-OAP

Hi guys! I am trying use an application on singularity but it gives an error: enter image description here

the error says failed to create a container. unable to add path to the mount list. the destination must be an absolute path.

Does anybody have any idea why it says so?

Thanks Saraswati

data-analysis wholeshotgunmetagenome amr microbiome metagenomics

1 answer

It is what the message tells you. You must provide an absolute path to -B/--bind rather than a relative one. Here that could be for example -B $(realpath inputdir) or -B /home/rakesh/inputdir and not just -B inputdir because the latter is relative to the current location you are in and not absolute with respect to the root dir which is /. Does that make sense to you? By the way there should be no need to sudo this.

Log in to answer this question.