CONTAINER-BUILD-DEBCONF(1)
β¨ CONTAINER-BUILD-DEBCONF β¨
okay bestie, so this is a page from the General Commands Manual for container-build-debconf β the little build script that spins up an advanced Debian-based container using debconf. come sit with me, it's gonna be cute π
πΈ NAME πΈ
container-build-debconf β build an advanced Debian based container with debconf
π¦ SYNOPSIS π¦
container build -s debconf ['OPTIONS']
cnt b -s debconf ['OPTIONS']
container build -s debian ['OPTIONS']
cnt b -s debian ['OPTIONS']
container build -s progress-linux ['OPTIONS']
cnt b -s progress-linux ['OPTIONS']
π DESCRIPTION π
The debconf container build script uses debconf(1) to automatically build a Debian based container. no manual clicking, no tears, it just goes. π
π§ Scope
okay so, heads up: this container build script can do a few things more than just automatically debootstrap based on a preseed file. it also lets you:
- set a root password
- configure the network
- install certain packages
- execute hooks
But β and this is important, bestie β this is not a replacement for a configuration management system (like ansible, puppet, etc.). The intenion of this script is to build the initial container to that extend that a configuration management system can take over. (yes, "intenion" and "extend", the manpage said it, I'm not touching it π«Ά)
As an analogy, think of debian-installer: d-i sets up your system to make it ready to boot and connect to the network. Everything after that is out of scope. Same goes for this script.
π Functions
This script performs the following configuration on top of a Debian based system:
- network
- root password
- apt repositories
- ...
π Modes
This container build script can be used under two different names: debian and progress-linux.
Alternative, calling it under the debconf name is equal to the debian mode. so same vibe, different label β¨
π Preseeding
Hierarchy of Preseed Files:
- The
debconfscript can be fully preseeded. Such preseed files can include one or more preseed files themselfs (currently, only one layer of includes is supported, no nested or recursive includes). - The general rule of 'the later preseed file overwrites the earlier' applies. The
debconfscript reads the main preseed file (specified either on command line or by debconf selection/input dialog) after any included preseed files in there. - That means that debconf values after the include statement in the main preseed file can overwrite any values specified in the included preseed files.
so basically: include first, main file last, last writer wins. the main file is the main character here. π
π OPTIONS π
The following script options are available:
-n,--name='NAME'β Specify container name.-p,--preseed-file='FILE'β Specify the preseed file.
β EXAMPLES β
Build a Debian based container:
sudo container build -s debian -n debian.example.net
Build a Progress Linux container:
sudo container build -s progress-linux -n progress.example.net
π FILES π
The following files are used:
/etc/compute-tools/configβ Container configuration files./usr/share/compute-tools/build-scriptsβ Container build scripts./usr/share/doc/compute-toolsβ Container documentation./var/lib/machinesβ Container directory./var/cache/containerβ Container cache directory./tmp/compute-toolsβ Container temporary directory.
π₯ SEE ALSO π₯
compute-tools(7), container(1).
π HOMEPAGE π
More information about compute-tools and the Open Infrastructure project can be found on the homepage (https://open-infrastructure.net).
π«Ά CONTACT π«Ά
Bug reports, feature requests, help, patches, support and everything else are welcome on the Open Infrastructure Software Mailing List <βsoftware@lists.open-infrastructure.net>.
Debian specific bugs can also be reported in the Debian Bug Tracking System (https://bugs.debian.org).
π AUTHORS π
compute-tools were written by Daniel Baumann <βdaniel.baumann@open-infrastructure.net> and others.
and that's the whole page, bestie!! π₯³ this was brought to you by Open Infrastructure and the compute-tools version, straight from the CONTAINER-BUILD-DEBCONF(1) manual page itself β go build something iconic, you've got this πβ¨π¦
π¦ where this page comes from
- debian bookworm: open-infrastructure-compute-tools 20221223-3 Β· GPL-3.0-or-later
- ubuntu noble: open-infrastructure-compute-tools 20221223-3 Β· GPL-3.0-or-later
- π the page's license: GPL-3.0+
- Copyright (C) 2014-2022 Daniel Baumann <daniel.baumann@open-infrastructure.net>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms