kiwi::system::stash - Man Page
Create a stash container from an image root directory
Synopsis
kiwi-ng [global options] service <command> [<args>]
kiwi-ng system stash --help
kiwi-ng system stash --root=<directory>
[--tag=<name>]
[--container-name=<name>]
kiwi-ng system stash --listDescription
Create a container from the given root directory. The command takes the contents of the given root directory at call time and creates an OCI container from it, called a stash. The stash is stored below /var/tmp/kiwi-stash and imported into the local container registry using podman. If a stash with the same container name already exists, a new layer is added to it.
A stash can be used as the image root for the kiwi-ng system stackbuild <#kiwi-system-stackbuild> command. For a detailed introduction, see Building based on Containers <#stackbuild>.
Options
- --root=<directory>
The path to the root directory, usually the result of a former system prepare or build call.
- --tag=<name>
The tag name for the container. By default, latest is used.
- --container-name=<name>
The name of the container. By default, it is set to the image name of the stash.
- --list
List the available stashes.
Example
$ kiwi-ng system stash --root /tmp/mytest/build/image-root
Author
Marcus Schäfer
Copyright
2020-2026, Marcus Schäfer