How to use Singularity in docker container?


I have a question about the official Snakemake container image.

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?


Source: StackOverflow

Categorised as docker, singularity-container, snakemake


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