NYU-BFX / docker2singularity-demo

A demo for converting Docker images to Singularity images.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

docker2singularity Demo

This demo will convert a Docker container into a Singularity container, starting from a Dockerfile.

NOTE: Workflow designed for macOS with Docker and Vagrant installed, see Software notes below.

You can run the entire demo workflow with

make all

Step-wise Workflow

  • create the demo Docker container for conversion to Singularity
make docker
  • make sure the demo Docker is working
make docker-test

output:

FastQC v0.11.5
  • setup the docker2singularity container and convert the demo Docker to Singularity
make docker2singularity
  • load and test the converted Singularity container in Vagrant
make vagrant

output:

...
...
FastQC v0.11.5
Connection to 127.0.0.1 closed.
  • if something broke along the way, reset with:
make clean

Software

Tested with:

  • Docker version 17.09.1-ce, build 19e2cf6

  • Vagrant 2.0.1 (see installation notes in install_vagrant.md)

  • macOS Sierra 10.12

About

A demo for converting Docker images to Singularity images.


Languages

Language:Makefile 100.0%