Public | Automated Build

Last pushed: 4 months ago
Short Description
Example of how to use Docker image on OpenMind
Full Description

Creating a golang Docker image for use on OpenMind

The Dockerfile in this repository is used to build a Docker image. I created a repository on DockerHub that automatically builds a Docker image according to the Dockerfile in this GitHub repository. That Docker image can be pulled as a Singularity image onto OpenMind.

Building the image yourself

(requires Docker)

Clone this repository and build an image using the repo's Dockerfile.

$> git clone https://github.com/kaczmarj/docker-golang-example.git
$> cd docker-golang-example
$> docker build -t image-name-here .
$> docker images  # You will see 'image-name-here' listed as an image.

Getting the Docker image onto OpenMind as a Singularity image

$> module add openmind/singularity/2.3
$> singularity pull docker://kaczmarj/docker-golang-example

Getting the Docker image onto your own computer

(requires Docker)

$> docker pull kaczmarj/docker-golang-example
Docker Pull Command
Owner
kaczmarj
Source Repository

Comments (0)