GitXplorerGitXplorer
k

docker-golang-example

public
0 stars
1 forks
0 issues

Commits

List of commits on branch master.
Unverified
b45886059906ad78a024db0c7f906e7db12f4f4e

add readme with instructions to pull image into openmind

committed 8 years ago
Unverified
ce38810df49edf2d4ebc3baffece1c00341e9867

add Dockerfile to build image with go with and other packages

committed 8 years ago

README

The README file for this repository.

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