DOKK / manpages / debian 11 / debspawn / debspawn-create.1.en
DEBSPAWN-CREATE(1) debspawn create DEBSPAWN-CREATE(1)

debspawn-create - Create new container images

debspawn create [-h|--help] [--variant] [-a|--arch] [--mirror] [--components] [--base-suite] [--extra-suites] [--extra-sourceslist-lines] [--allow-recommends] {SUITE}

Create a new base image for a suite known to debootstrap(1). The image will later be used to spawn ephemeral containers in which packages can be built.

You can easily create images for any suite that has a script in debootstrap. For example, to create a Debian Unstable image for your current machine architecture, you can use:

$ debspawn create sid

A more advanced example, for building on Ubuntu 18.10 on the x86 architecture:

$ debspawn create --arch=i386 cosmic

-h|--help

Print brief help information about available commands.

--variant

Set the bootstrap script variant.

-a|--arch

The architecture of the container.

--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.

debspawn-build(1), debootstrap(1), systemd-nspawn(1).

This manual page was written by Matthias Klumpp <mak@debian.org>.

Copyright © 2018-2021 Matthias Klumpp

Debspawn