CH-BUILD2DIR(1)
π CH-BUILD2DIR(1) β the Charliecloud girlies' guide π
okay bestie, so this is ch-build2dir, part of the Charliecloud manual set, and it's giving "build me a Docker image and then dump it in a folder" energy. let's get into it π
β¨ NAME β¨
ch-build2dir β builds a Charliecloud image from a Dockerfile and unpacks it into a directory. yes, both. it's an overachiever π
β¨ SYNOPSIS β¨
$ ch-build2dir -t TAG [ARGS ...] CONTEXT OUTDIR
β¨ DESCRIPTION β¨
WARNING: This script is deprecated in favor of ch-convert. It will be removed in the next release. fr fr, start migrating bestie, this one's on its way out π
So what does it actually do? It builds a Docker image named TAG described by a Dockerfile (which defaults to $CONTEXT/Dockerfile) and then unpacks that image into OUTDIR/TAG. It's basically a little wrapper that runs ch-build, ch-builder2tar, and ch-tar2dir for you, so go peek at those man pages too, iykyk π¦
The arguments, babes:
ARGSβ extra arguments that get passed straight along toch-build. little handoff, no notes πCONTEXTβ the Docker context directory πOUTDIRβ the directory where the image directory (named TAG) and the temporary tarball get placed π
And the flags:
-t TAGβ the name (tag) of the Docker image you wanna build π·οΈ--helpβ prints help and dips out βοΈ--versionβ prints version and dips out βοΈ
β¨ EXAMPLES β¨
Wanna build using ./Dockerfile and create the image directory /var/tmp/foo? say less:
$ ch-build2dir -t foo . /var/tmp
Same vibe as above, but with a different Dockerfile. she's customizing π :
$ ch-build2dir -t foo -f ./Dockerfile.foo . /var/tmp
β¨ REPORTING BUGS β¨
If you got Charliecloud from your Linux distribution, use your distribution's bug reporting procedures, periodt.
Otherwise, report bugs to: https://github.com/hpc/charliecloud/issues β the devs will literally thank you π«Ά
β¨ SEE ALSO β¨
Full documentation at: https://hpc.github.io/charliecloud β
β¨ COPYRIGHT β¨
2014β2021, Triad National Security, LLC π
and that's a wrap bestie β¨ this was version 0.26, dated 2022-01-30 10:06 UTC β go forth, build, and slay π
π¦ 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