Save
This goal saves an image defined in the build configuration to a local file. This is identical to podman:save
. The name of the container image is calculated based on the full name of the image (excluding the registry). The resulting file will be a .tar.gz
file located in the project’s target/podman
directory.
The resulting tar.gz
file can later be imported using Podman’s load
command.
This goal is experimental. |
Element | Description |
---|---|
skipSave |
If set to true the plugin won’t save the image to the local disk. Default value is: |
targetDirectory |
Allows configuration of the location where container images are stored on disk when they are exported. Default value is: |