ch-build2dir - Build a Charliecloud image from Dockerfile and unpack it into a directory
Contents
Copyright
2014–2021, Triad National Security, LLC
0.26 2022-01-30 10:06 UTC CH-BUILD2DIR(1)
Description
WARNING:
This script is deprecated in favor of ch-convert. It will be removed in the next release.
Build a Docker image named TAG described by a Dockerfile (default $CONTEXT/Dockerfile) and unpack it into
OUTDIR/TAG. This is a wrapper for ch-build, ch-builder2tar, and ch-tar2dir; see also those man pages.
Arguments:
ARGS additional arguments passed to ch-buildCONTEXT
Docker context directory
OUTDIR directory in which to place image directory (named TAG) and temporary tarball
-tTAG name (tag) of Docker image to build
--help print help and exit
--version
print version and exit
Examples
To build using ./Dockerfile and create image directory /var/tmp/foo:
$ ch-build2dir -t foo . /var/tmp
Same as above, but build with a different Dockerfile:
$ ch-build2dir -t foo -f ./Dockerfile.foo . /var/tmpName
ch-build2dir - Build a Charliecloud image from Dockerfile and unpack it into a directory
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/issuesSee Also
charliecloud(7)
Full documentation at: <https://hpc.github.io/charliecloud>
Synopsis
$ ch-build2dir -t TAG [ARGS ...] CONTEXT OUTDIR
