DEBSPAWN-CREATE(1)

πŸ“¦
version 0.6.5 Β· 3 versions
, in ubuntu stonking

πŸ’– 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 (use none to 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 -updates and -backports).
  • --extra-suites β€” space-separated list of additional suites that should also be added to the sources.list file.
  • --extra-sourceslist-lines β€” lines that should be added to the build environments source.list verbatim. 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 Β© 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