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

NAME

6       ch-builder2squash  -  Flatten  a  builder  image  into  a  Charliecloud
7       SquashFS file
8

SYNOPSIS

10          $ ch-builder2squash [-b BUILDER] IMAGE OUTDIR [ARGS ...]
11

DESCRIPTION

13       Flattens the builder image tagged IMAGE into a SquashFS file in OUTDIR.
14
15       Wrapper for ch-builder2tar --nocompress and ch-tar2sqfs.   Intermediate
16       files and directories are removed.
17
18       Sudo privileges are required to run docker export.
19
20       Optional ARGS passed to mksquashfs unchanged.
21
22       Additional arguments:
23
24          --help print help and exit
25
26          --version
27                 print version and exit
28

EXAMPLE

30          $ docker image list | fgrep debian
31          REPOSITORY   TAG       IMAGE ID       CREATED      SIZE
32          debian       stretch   2d337f242f07   3 weeks ago  101MB
33          $ ch-builder2squash debian /var/tmp
34          Parallel mksquashfs: Using 6 processors
35          Creating 4.0 filesystem on /var/tmp/debian.sqfs, block size 131072.
36          [...]
37          squashed /var/tmp/debian.sqfs OK
38          $ ls -lh /var/tmp/debian*
39          -rw-r--r-- 1 charlie charlie 41M Apr 23 14:37 debian.sqfs
40

REPORTING BUGS

42       If  Charliecloud  was  obtained  from your Linux distribution, use your
43       distribution’s bug reporting procedures.
44
45       Otherwise, report bugs to: <https://github.com/hpc/charliecloud/issues>
46

SEE ALSO

48       charliecloud(7)
49
50       Full documentation at: <https://hpc.github.io/charliecloud>
51
53       2014–2020, Triad National Security, LLC
54
55
56
57
580.22              2021-03-08 00:00 Coordinated Universal TiCmHe-BUILDER2SQUASH(1)
Impressum