ruby

Versions: [3.0.0, 3.0.1, 3.0.2, 3.1.0]

ruby

Download        : docker pull ghcr.io/autamus/ruby
Compressed Size : 46MB

Description

A dynamic, open source programming language with a focus on simplicity and productivity.

Usage

Pull (Download)

To download the latest version of ruby run,

docker pull ghcr.io/autamus/ruby:latest

or to download a specific version of ruby run,

docker pull ghcr.io/autamus/ruby:3.0.0

Run

To run the container as an application run,

docker run --rm ghcr.io/autamus/ruby ruby --version

or to run the container in an interactive session run,

docker run -it --rm ghcr.io/autamus/ruby bash

Mounting volumes between the container and your machine

To access files from your machine within the ruby container you’ll have to mount them using the -v external/path:internal/path option.

For example,

docker run -v ~/Documents/Data:/Data ghcr.io/autamus/ruby ruby /Data/myData.csv

which will mount the ~/Documents/Data directory on your computer to the /Data directory within the container.

HPC

If you’re looking to use this container in an HPC environment we recommend using Singularity-HPC to use the container just as any other module on the cluster. Check out the SHPC ruby container here.