Podman plugin for the OCI container image format
The Podman plugin is effectively a fork of the Docker plugin, though Podman does not support the changes
attribute or Dockerfiles. It also doesn’t come shipped with Packer at the time of writing, so it must be included manually, and a Packer init
must be performed first to download it. This time, we will need to include the required_plugins
block inside the Packer config so that we can get the plugin during init
. Note that this can be risky for production as upstream contributions present an opportunity for supply chain attacks. We will show you how that works in Chapter 12, Developing Packer Plugins. Hopefully, the Podman builder will be mainlined into Packer and supported by HashiCorp, so this won’t be an issue in the future:
packer { required_plugins { podman = { version = ">=v0.1.0" source ...