Using containers (Docker/Singularity) in science: Reference

Key Points

Installing Docker
  • Docker runs on Windows, Mac OS X, and Linux.

  • Decide between “Docker for..” and “docker-machine”.

What is Docker?
  • Docker is a kernel level virtualization system.

Pulling and running a container
  • Container images are downloaded from Docker Hub.

  • You can run shell inside the container.

  • Only explicitly mounted host folder are accessible inside the container.

Creating your own docker images
  • Container images are build using simple recipes - Dockerfiles.

Storing your containers on Docker Hub
  • You can store containers for your projects on Docker Hub and retrieve them at any time.

Running containers on clusters and HPCs
  • You can use Singularity to run containers on multitenant systems.

FIXME: more reference material.