How to use Singularity in docker container?

Published

I have a question about the official Snakemake container image.
https://hub.docker.com/r/snakemake/snakemake/dockerfile

In this Dockerfile, singularity will be installed. As far as I know, the --privileged argument seems to be required to use singularity in a docker container.
docker run -it --privileged snakemake/snakemake ........

However, I think the --privileged argument is insecure from a security standpoint, so it would be preferable not to use it if possible.

Can anyone tell me the proper way to use singularity in a docker container?

Thanks,

Source: StackOverflow

Published
Categorised as docker, singularity-container, snakemake

Answers

Leave a Reply

Still Have Questions?


Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us
faq