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

ch-builder2squash - Flatten a builder image into a Charliecloud SquashFS file

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


Flattens the builder image tagged IMAGE into a SquashFS file in OUTDIR.

Wrapper for ch-builder2tar --nocompress and ch-tar2sqfs. Intermediate files and directories are removed.

Sudo privileges are required to run docker export.

Optional ARGS passed to mksquashfs unchanged.

Additional arguments:

print help and exit
print version and exit



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


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