ch-builder2tar(1)

ch-builder2tar1

Flatten a builder image into a charliecloud image tarball

Usage

$ ch-builder2tar [-b BUILDER] [--nocompress] IMAGE OUTDIR

Overview

Flatten the builder image tagged IMAGE into a Charliecloud tarball in directory OUTDIR.

The builder-specified environment (e.g., ENV statements) is placed in a file in the tarball at $IMAGE/ch/environment, in a form suitable for ch-run --set-env.

See ch-build(1) for details on specifying the builder.

Additional arguments:

-b, --builder BUILDER

Use specified builder; if not given, use $CH_BUILDER or default.

--nocompress

Do not compress tarball.

--help

Print help and exit.

--version

Print version and exit.

Examples

$ ch-builder2tar hello /var/tmp
57M /var/tmp/hello.tar.gz
$ ls -lh /var/tmp
-rw-r-----  1 reidpr reidpr  57M Feb 13 16:14 hello.tar.gz

Reporting bugs

If Charliecloud was obtained from your Linux distribution, use your distribution’s bug reporting procedures.

Otherwise, report bugs to: <https://github.com/hpc/charliecloud/issues>

From charliecloud-builders 0.21-1 in Debian 11 (Bullseye). Parsed by carta from the page's man source.