LXC
@hashicorp
The LXC plugin can be used with HashiCorp Packer to create OCI images with LXC.
- Community
Updated 5 months ago
- GitHub(opens in new tab)
LXC
The LXC plugin allows building containers for lxc. The plugin contains a single builder lxc, which starts an LXC container, runs provisioners within this container, then exports the container as a tar.gz of the root file system.
Installation
To install this plugin, copy and paste this code into your Packer configuration, then run packer init
.
Alternatively, you can use packer plugins install
to manage installation of this plugin.
Components
Builders
- lxc - The LXC builder builds containers for LXC by starting a container, provisioning it, and exporting it as a tar.gz archive of the root file system.