1CH-BUILD2DIR(1)                  Charliecloud                  CH-BUILD2DIR(1)
2
3
4

NAME

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

SYNOPSIS

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

DESCRIPTION

13       WARNING:
14          This script is deprecated in favor of ch-convert. It will be removed
15          in the next release.
16
17       Build a Docker image named TAG described by a Dockerfile (default $CON‐
18       TEXT/Dockerfile) and unpack it into OUTDIR/TAG. This is a  wrapper  for
19       ch-build, ch-builder2tar, and ch-tar2dir; see also those man pages.
20
21       Arguments:
22
23          ARGS   additional arguments passed to ch-build
24
25          CONTEXT
26                 Docker context directory
27
28          OUTDIR directory  in  which to place image directory (named TAG) and
29                 temporary tarball
30
31          -t TAG name (tag) of Docker image to build
32
33          --help print help and exit
34
35          --version
36                 print version and exit
37

EXAMPLES

39       To build using ./Dockerfile and create image directory /var/tmp/foo:
40
41          $ ch-build2dir -t foo . /var/tmp
42
43       Same as above, but build with a different Dockerfile:
44
45          $ ch-build2dir -t foo -f ./Dockerfile.foo . /var/tmp
46

REPORTING BUGS

48       If Charliecloud was obtained from your  Linux  distribution,  use  your
49       distribution’s bug reporting procedures.
50
51       Otherwise, report bugs to: https://github.com/hpc/charliecloud/issues
52

SEE ALSO

54       charliecloud(7)
55
56       Full documentation at: <https://hpc.github.io/charliecloud>
57
59       2014–2021, Triad National Security, LLC
60
61
62
63
640.26                         2022-01-24 00:00 UTC              CH-BUILD2DIR(1)
Impressum