CH-BUILDER2SQUASH(1)
β¨ NAME β¨
ch-builder2squash β bestie, this flattens a builder image into a Charliecloud SquashFS file π
πΈ SYNOPSIS πΈ
$ ch-builder2squash [-b BUILDER] IMAGE OUTDIR [ARGS ...]
π DESCRIPTION π
WARNING: okay so this script is deprecated in favor of ch-convert. She's getting removed in the next release. No cap. Enjoy her while she's here π₯²
She flattens the builder image tagged IMAGE into a SquashFS file in OUTDIR. It's giving very "squish it down and make it cute" energy π«Ά
Lowkey she's just a wrapper for ch-builder2tar --nocompress and ch-tar2sqfs. All the intermediate files and directories? Gone. Removed. Not invited to the afterparty π
Heads up bestie: sudo privileges are required to run docker export. Like, actual root. Not a vibe you can skip π¨
Any optional ARGS you pass get handed off to mksquashfs unchanged β no edits, no notes, she's a courier fr fr π§
Additional arguments
--helpβ prints the help and dips out. That's it, that's the whole thing π--versionβ prints the version and exits. Iconic behavior honestly β
π₯ EXAMPLE π₯
$ 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
Look at her go π from a whole docker image down to one lil debian.sqfs, 41M, and mksquashfs said "squashed ... OK" which is basically a compliment π
π REPORTING BUGS π
If you got Charliecloud from your Linux distribution, please use your distribution's own bug reporting procedures. They're the ones who packaged it, they know the lore π
Otherwise, report bugs to: https://github.com/hpc/charliecloud/issues
π¦ SEE ALSO π¦
Full documentation at: https://hpc.github.io/charliecloud
π COPYRIGHT π
2014β2021, Triad National Security, LLC
That's the whole page, bestie β Charliecloud manual, version 0.26, dated 2022-01-30 10:06 UTC. Go squash something π
β¨
π¦ where this page comes from
- ubuntu jammy: charliecloud-builders 0.26-1 Β· Apache-2.0-TNS
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms