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

ch-build2dir - Build a Charliecloud image from Dockerfile and unpack it into a directory

$ ch-build2dir -t TAG [ARGS ...] CONTEXT OUTDIR


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:

additional arguments passed to ch-build
Docker context directory
directory in which to place image directory (named TAG) and temporary tarball
name (tag) of Docker image to build
print help and exit
print version and exit



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/tmp


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