Skip to content

stevekm/docker2singularity-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 

Repository files navigation

docker2singularity Demo

This demo will show you how to convert a Docker container into a Singularity container, starting from a Dockerfile.

NOTE: Workflow designed for macOS

  • create the demo Docker container for conversion to Singularity
make docker
  • make sure the demo Docker is working
make docker-test
# FastQC v0.11.5

output:

docker run --rm -t stevekm/fastqc --version
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:

...
...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = "en_US:",
	LC_ALL = (unset),
	LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
FastQC v0.11.5
Connection to 127.0.0.1 closed.
  • if something broke along the way, reset with:
make clean

Software

Used in this workflow:

  • Docker version 17.09.1-ce, build 19e2cf6
  • Vagrant 2.0.1
  • macOS Sierra 10.12

About

A demo for converting Docker images to Singularity images.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Makefile 100.0%