DEBSPAWN-CREATE(1)
π debspawn-create β the glow-up era of container images π
okay bestie, welcome to debspawn-create(1), the manual page for debspawn create. yes it's a real manpage, yes i gave it a makeover, and no, i did not drop a single flag. periodt. β¨
πΈ NAME πΈ
debspawn-create β create new container images π
β¨ SYNOPSIS β¨
debspawn create [-h|--help] [--variant] [-a|--arch] [--suite] [--mirror]
[--components] [--base-suite] [--extra-suites]
[--extra-sourceslist-lines] [--allow-recommends]
[--extra-packages] [--with-init] {NAME}
π¦ DESCRIPTION π¦
so what this does is: it creates a new base image for a suite that debootstrap(1) or mmdebstrap(1) already knows about. think of it as building the little home base π before the main character moment happens.
that image will later get used to spawn ephemeral containers β temporary little pop-up studios π β where packages can be built. gone when you're done, no mess, no drama.
and here's the cute little detail: if mmdebstrap is installed on your system, it will be preferred over debootstrap β unless a specific bootstrap tool is set in the global configuration. so like, the system has a favourite. iykyk. π
π§ EXAMPLES π§
you can easily create images for any suite that has a script in debootstrap. no cap. for example, to create a Debian Unstable image for your current machine architecture, you can use:
$ debspawn create unstable
and here's a more advanced one, for building on Ubuntu 18.10 on the x86 architecture:
$ debspawn create --arch=i386 cosmic
okay so important lore π: the suite name is inferred from the container image name given as the positional parameter. if it can not be inferred, you will need to pass the --suite parameter with the primary suite name for this image. and heads up bestie β if a --base-suite is passed and no --suite is set, the image name will automatically be assumed to be for an overlay suite, which may not always be the desired result. so like, watch out, it's giving assumptions. π
π OPTIONS π
NAMEβ the name of the container image to create (usually the name of the suite). it's the whole vibe, name it well. π-h|--helpβ print brief help information about available commands. your little cheat sheet π«Ά--variantβ set the bootstrap script variant (usenoneto select no variant).-a|--archβ the architecture of the container.--suiteβ explicitly set a suite name (instead of having it derived from the container name).--mirrorβ set a specific mirror to bootstrap from.--componentsβ a comma-separated list of archive components to enable in the newly created image.--base-suiteβ a full suite that forms the base of the selected partial suite (e.g. for-updatesand-backports).--extra-suitesβ space-separated list of additional suites that should also be added to thesources.listfile.--extra-sourceslist-linesβ lines that should be added to the build environmentssource.listverbatim. separate lines by linebreaks.--allow-recommendsβ do not disable APT installing "recommends"-type dependencies by default, and instead use the default behavior for full, normal system installations with "recommends" enabled.--extra-packagesβ a comma-separated list of additional packages to install into the image during bootstrap.--with-initβ include an init system in this image, so it is bootable. main character energy π
π SEE ALSO π
debspawn-build(1), debootstrap(1), systemd-nspawn(1).
π AUTHOR π
this manual page was written by Matthias Klumpp <mak@debian.org>.
π COPYRIGHT π
Copyright Β© 2018-2022 Matthias Klumpp
okay that's the whole thing, bestie. every flag, every example, every copyright line β all here, all intact, just with β¨vibesβ¨. go build something iconic. π
and a cute little sign-off for the footer, since you asked: this page lives under the name Debspawn, and it's page DEBSPAWN-CREATE(1) β the copyright up there covers 2018-2022, so you know this lore has been serving since then. π¦π
π¦ where this page comes from
- ubuntu stonking: debspawn 0.6.5-1 Β· LGPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms