packer(1) tool for creating machine images for multiple platforms

SYNOPSIS

$ packer <command> [<options>] <args>

$ packer build -only=amazon-ebs template.json

DESCRIPTION

Packer is a CLI tool for the automatic creation of identical machine images (single deployable units that contain a pre-configured OS and installed software) for multiple platforms (public cloud providers, private cloud and desktop virtualization solutions) from a single JSON template resp. configuration file. For the documentation of Packer, especially on how to write proper Packer templates, please see <https://www.packer.io/docs>.

COMMANDS

build
build image(s) from a template. For a full list of options related to this command, see the output of: $ packer build -h.
fix
fix templates from old versions of Packer like this: $ packer fix old.json > new.json. For a full list of fixes which this command performs and special options, see the output of: $ packer fix -h.
inspect
print components of a template. This command validates the basic syntax of the template by necessity, but not if the configuration is valid (this is what the command validate is for).
push
push a template and supporting files to a Packer build service (usually HashiCorp's Atlas, which is a commercial service).
validate
check if a template is valid. The command returns a zero exit status if a template is valid, and a non-zero exit status if it isn't. If -syntax-only is given as option, only the syntax of the template is checked.
version
print the Packer version

LOGGING

To get a build log, run packer like this: $ PACKER_LOG=1 packer build foo.json 2>>build.log, or use $PACKER_LOG_PATH.

ENVIRONMENT VARIABLES

For a full list of available environment variables, see <https://www.packer.io/docs/other/environmental-variables.html>.

AUTHORS

HashiCorp's Packer is developed by Mitchell Hashimoto <[email protected]>, Jack Pearkes <[email protected]>, Mark Peek, Ross Smith II <[email protected]>, and Rickard von Essen <[email protected]>.

This manpage is written by Daniel Stender <[email protected]> for the Debian pkg-go team.