Packer
incus
@bketelsen
The incus plugin can be used with HashiCorp Packer to create OCI images with incus.
- Community
Updated 11 months ago
- GitHub(opens in new tab)
incus
The incus plugin allows building containers for incus, by starting an incus container, running provisioners within this container, then saveing the container as an incus image.
Installation
To install this plugin, copy and paste this code into your Packer configuration, then run packer init
.
packer {
required_plugins {
incus = {
source = "github.com/bketelsen/incus"
version = "~> 1"
}
}
}
Alternatively, you can use packer plugins install
to manage installation of this plugin.
$ packer plugins install github.com/bketelsen/incus
Components
Builders
- incus - The incus builder builds containers with incus by starting a container, provisioning it, and exporting it as a tar.gz archive of the root file system.