DOKK / manpages / debian 11 / charliecloud-builders / ch-builder2tar.1.en
CH-BUILDER2TAR(1) Charliecloud CH-BUILDER2TAR(1)

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

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


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.



$ 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


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>

charliecloud(7)

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

2014–2020, Triad National Security, LLC

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