Scroll to navigation

CH-BUILDER2TAR(1) Charliecloud CH-BUILDER2TAR(1)

NAME

ch-builder2tar - Flatten a builder image into a Charliecloud image tarball

SYNOPSIS

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


DESCRIPTION

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:

Use specified builder; if not given, use $CH_BUILDER or default.
Do not compress tarball.
Print help and exit.
Print version and exit.



EXAMPLE

$ 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>

SEE ALSO

charliecloud(7)

Full documentation at: <https://hpc.github.io/charliecloud>

COPYRIGHT

2014–2020, Triad National Security, LLC

2020-12-20 14:44 Coordinated Universal Time 0.21