To request assistance with your project please fill in the support request for bellow.
If you require support for a large project, please register and follow the link to the collaboration page.

Knowledgebase:Convert Docker to Singularity image

How do I convert a docker image to a singularity image?

To convert a Docker container to a Singularity image, we use docker2singularity.

Base command:

docker run -v /var/run/docker.sock:/var/run/docker.sock -v <output dir>:/output --privileged -t --rm singularityware/docker2singularity <image name and label>

Example command to create an image from the Docker container bacterial_env:latest in the directory /Volumes/images/singularity:

docker run \

-v /var/run/docker.sock:/var/run/docker.sock \

-v /Volumes/images/singularity:/output \

--privileged -t --rm \

singularityware/docker2singularity \

bacterial_env:latest

View other Pipelines articles, or continue viewing other knowledgebase articles.