bzip2

Versions: [1.0.8]

bzip2

Download        : docker pull ghcr.io/autamus/bzip2
Compressed Size : 26MB

Description

bzip2 is a freely available, patent free high-quality data compressor. It typically compresses files to within 10% to 15% of the best available techniques (the PPM family of statistical compressors), whilst being around twice as fast at compression and six times faster at decompression.

Usage

Pull (Download)

To download the latest version of bzip2 run,

docker pull ghcr.io/autamus/bzip2:latest

or to download a specific version of bzip2 run,

docker pull ghcr.io/autamus/bzip2:1.0.8

Run

To run the container as an application run,

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

or to run the container in an interactive session run,

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

Mounting volumes between the container and your machine

To access files from your machine within the bzip2 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/bzip2 bzip2 /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 bzip2 container here.