Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Singularity allow "--userns" #101

Closed
KeyTals opened this issue Apr 23, 2021 · 4 comments
Closed

Singularity allow "--userns" #101

KeyTals opened this issue Apr 23, 2021 · 4 comments
Assignees
Labels
documentation Improvements or additions to documentation question Further information is requested

Comments

@KeyTals
Copy link

KeyTals commented Apr 23, 2021

Hello,

We need provide "-u" or "--userns" while we run singularity on server installation. Is there any way to provide "-u" while running singularity mode of pipeline?

Keyur

@replikation
Copy link
Owner

replikation commented Apr 23, 2021

hi @KeyTals yes, it is possible to provide additional container flags to singularity.

Edit: This works:

# create the configuration file
echo "singularity.runOptions = '--userns'" > singularity.config

# merge the config into poreCov, e.g.:
nextflow run replikation/poreCov -c singularity.config   --fastq <stuff> -profile local,singularity -r 0.7.13

@replikation replikation self-assigned this Apr 23, 2021
@replikation replikation added the question Further information is requested label Apr 23, 2021
@KeyTals
Copy link
Author

KeyTals commented Apr 23, 2021

Thank you very much for the quick reply. Now i am not getting the -u specific error.

Keyur

@replikation
Copy link
Owner

  • nice, please report back if it everything works, I would like to add this to the readme as "troubleshooting" for others

@replikation replikation added the documentation Improvements or additions to documentation label Apr 23, 2021
@KeyTals
Copy link
Author

KeyTals commented Apr 23, 2021

Pipeline works fine.

Thanks,
Keyur

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants