Scroll to navigation

KIWI::SYSTEM::STASH(8) KIWI NG KIWI::SYSTEM::STASH(8)

NAME

kiwi::system::stash - Create a stash container from an image root directory

DESCRIPTION

Stores a root tree as an OCI container, called a stash, below /var/tmp/kiwi-stash and in the local container storage of podman. Storing a root tree with an existing container name adds a new layer. Stashes are the base of kiwi-ng system stackbuild <#kiwi-system-stackbuild>, see Building based on Containers <#stackbuild>.

USAGE

kiwi-ng [global options] system stash --root <directory> [options]
kiwi-ng system stash --list


OPTIONS

Option Description
--root <directory> The root tree, usually from kiwi-ng system prepare or kiwi-ng system build.
--container-name <name> The container name. Default: the image name.
--tag <name> The container tag. Default: latest.
--list List the available stashes.

EXAMPLE

$ sudo kiwi-ng system stash --root /tmp/myimage/build/image-root


Author

Marcus Schäfer

Copyright

2020-2026, Marcus Schäfer

November 13, 2026 11.1.14