1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-22 10:24:10 +02:00
tldr/pages/common/packer.md
Managor fc3a8d07a1
*: use a more specific more info link, io domain (#17676)
Co-authored-by: Dylan <145150333+dmmqz@users.noreply.github.com>
2025-08-16 10:32:10 +03:00

342 B

packer

Build automated machine images. More information: https://developer.hashicorp.com/packer/docs/commands.

  • Build an image:

packer build {{path/to/config.json}}

  • Check the syntax of a Packer image config:

packer validate {{path/to/config.json}}

  • Format a Packer image config:

packer fmt {{path/to/config.pkr.hcl}}