1CH-BUILD2DIR(1) Charliecloud CH-BUILD2DIR(1)
2
3
4
6 ch-build2dir - Build a Charliecloud image from Dockerfile and unpack it
7 into a directory
8
10 $ ch-build2dir -t TAG [ARGS ...] CONTEXT OUTDIR
11
13 Build a Docker image named TAG described by a Dockerfile (default $CON‐
14 TEXT/Dockerfile) and unpack it into OUTDIR/TAG. This is a wrapper for
15 ch-build, ch-builder2tar, and ch-tar2dir; see also those man pages.
16
17 Arguments:
18
19 ARGS additional arguments passed to ch-build
20
21 CONTEXT
22 Docker context directory
23
24 OUTDIR directory in which to place image directory (named TAG) and
25 temporary tarball
26
27 -t TAG name (tag) of Docker image to build
28
29 --help print help and exit
30
31 --version
32 print version and exit
33
35 To build using ./Dockerfile and create image directory /var/tmp/foo:
36
37 $ ch-build2dir -t foo . /var/tmp
38
39 Same as above, but build with a different Dockerfile:
40
41 $ ch-build2dir -t foo -f ./Dockerfile.foo . /var/tmp
42
44 If Charliecloud was obtained from your Linux distribution, use your
45 distribution’s bug reporting procedures.
46
47 Otherwise, report bugs to: <https://github.com/hpc/charliecloud/issues>
48
50 charliecloud(7)
51
52 Full documentation at: <https://hpc.github.io/charliecloud>
53
55 2014–2021, Triad National Security, LLC
56
57
58
59
600.25 2021-09-20 00:00 UTC CH-BUILD2DIR(1)