1CH-BUILDER2SQUASH(1) Charliecloud CH-BUILDER2SQUASH(1)
2
3
4
6 ch-builder2squash - Flatten a builder image into a Charliecloud
7 SquashFS file
8
10 $ ch-builder2squash [-b BUILDER] IMAGE OUTDIR [ARGS ...]
11
13 WARNING:
14 This script is deprecated in favor of ch-convert. It will be removed
15 in the next release.
16
17 Flattens the builder image tagged IMAGE into a SquashFS file in OUTDIR.
18
19 Wrapper for ch-builder2tar --nocompress and ch-tar2sqfs. Intermediate
20 files and directories are removed.
21
22 Sudo privileges are required to run docker export.
23
24 Optional ARGS passed to mksquashfs unchanged.
25
26 Additional arguments:
27
28 --help print help and exit
29
30 --version
31 print version and exit
32
34 $ docker image list | fgrep debian
35 REPOSITORY TAG IMAGE ID CREATED SIZE
36 debian stretch 2d337f242f07 3 weeks ago 101MB
37 $ ch-builder2squash debian /var/tmp
38 Parallel mksquashfs: Using 6 processors
39 Creating 4.0 filesystem on /var/tmp/debian.sqfs, block size 131072.
40 [...]
41 squashed /var/tmp/debian.sqfs OK
42 $ ls -lh /var/tmp/debian*
43 -rw-r--r-- 1 charlie charlie 41M Apr 23 14:37 debian.sqfs
44
46 If Charliecloud was obtained from your Linux distribution, use your
47 distribution’s bug reporting procedures.
48
49 Otherwise, report bugs to: https://github.com/hpc/charliecloud/issues
50
52 charliecloud(7)
53
54 Full documentation at: <https://hpc.github.io/charliecloud>
55
57 2014–2021, Triad National Security, LLC
58
59
60
61
620.26 2022-07-20 00:00 UTC CH-BUILDER2SQUASH(1)