nr23730 / singularity-docker

Build and run singularity images within a Docker container.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Singularity-Docker

You want to use or build Singularity images on a Windows or macOS system or a linux system where you don't want to install Singularity? No problem! Here comes Sinbularity-Docker!

How to install

Prerequisities

You need to have Docker installed on your system.

Setup

Clone this repository using the following command

git clone https://github.com/nr23730/singularity-docker.git

Navigate to the repository folder and build die Docker image

docker build . -t singularitydocker:latest

Copy the singularity file to some place that is covered by your $PATH environment variable.

Now you're ready to rock!

How to use

You can use singularity like you would with a real installation. You just type singularity and your desired commands in the command line.

Be aware that only your current working directory will be available in singularity and execution will be limited to noninteractive mode.

Examples

singularity run library://sylabsed/examples/lolcow cowsay

About

Build and run singularity images within a Docker container.

License:MIT License


Languages

Language:Dockerfile 75.6%Language:Shell 24.4%