'\" t .\" Man page generated from reStructuredText .\" by the Docutils 0.23 manpage writer. . . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .TH "KIWI::SYSTEM::STACKBUILD" "8" "Nov 13, 2026" "11.1.14" "KIWI NG" .SH NAME kiwi::system::stackbuild \- Build image based on stash containers .SH DESCRIPTION .sp Builds an image based on one or more stashes created by kiwi\-ng system stash \%<#\:kiwi-system-stash>\&. Without \fB\-\-description\fP, it rebuilds the image from the root tree and image description stored in the stash with \fBkiwi\-ng system create\fP\&. With \fB\-\-description\fP, it builds the given image description on top of the stash with \fBkiwi\-ng system build\fP\&. The arguments after the \fBkiwi\fP subcommand are passed to that command, \fB\-\-\fP is accepted instead of \fBkiwi\fP\&. For an introduction, see Building based on Containers \%<#\:stackbuild>\&. .sp \fBNote:\fP .INDENT 0.0 .INDENT 3.5 KIWI NG does not check if a stash fits the image description, for example nothing prevents building a Fedora image on a Leap stash. .UNINDENT .UNINDENT .SH USAGE .INDENT 0.0 .INDENT 3.5 .sp .EX kiwi\-ng [global options] system stackbuild \e \-\-stash ... \e \-\-target\-dir \e [options] [kiwi ] kiwi\-ng [global options] system stackbuild \e \-\-stash ... \e \-\-target\-dir \e \-\-description \e [options] [kiwi ] .EE .UNINDENT .UNINDENT .SH OPTIONS .TS box center; l|l. T{ Option T} T{ Description T} _ T{ \fB\-\-stash ...\fP T} T{ Required. The stash, see \fBkiwi\-ng system stash \-\-list\fP\&. Several stashes are stacked in the given order. T} _ T{ \fB\-\-target\-dir \fP T} T{ Required. The directory for the build results. T} _ T{ \fB\-\-description \fP T} T{ The image description to build on top of the stash. T} _ T{ \fB\-\-from\-registry \fP T} T{ Pull the stash from this registry. T} .TE .SH EXAMPLE .INDENT 0.0 .INDENT 3.5 .sp .EX $ sudo kiwi\-ng system stackbuild \-\-stash NAME \-\-target\-dir /target/rebuild \e kiwi \-\-signing\-key /path/to/key .EE .UNINDENT .UNINDENT .SH Author Marcus Schäfer .SH Copyright 2020-2026, Marcus Schäfer .\" End of generated man page.