-1
日增长
15,822
stars
3,432
forks
454
watchers
6,593
prs
6,988
issues
70
releases
README
Packer
===
Packer is a tool for building identical machine images for multiple platforms
from a single source configuration.
Packer is lightweight, runs on every major operating system, and is highly
performant, creating machine images for multiple platforms in parallel. Packer
supports various platforms through external plugin integrations, the full list of which can
be found at https://developer.hashicorp.com/packer/integrations.
The images that Packer creates can easily be turned into Vagrant boxes.
Quick Start
Packer
There is a great introduction and getting started guide
for building a Docker image on your local machine without using any paid cloud resources.
Alternatively, you can refer to getting started with AWS to
learn how to build a machine image for an external cloud provider.
HCP Packer
HCP Packer registry stores Packer image metadata, enabling you to track your image lifecycle.
To get started with building an AWS machine image to HCP Packer for referencing in Terraform refer
to the collection of HCP Packer Tutorials.
Documentation
Comprehensive documentation is viewable on the Packer website at https://developer.hashicorp.com/packer/docs.
Contributing to Packer
See
CONTRIBUTING.md
for best practices and instructions on setting up your development environment
to work on Packer.
Contributing to Documentation
Important: Packer documentation has moved to the hashicorp/web-unified-docs repository.
To contribute documentation changes:
- Make contributions directly to the web-unified-docs repository
- See the Updating Documentation section in CONTRIBUTING.md for detailed instructions
Unmaintained Plugins
As contributors' circumstances change, development on a community maintained
plugin can slow. When this happens, HashiCorp may use GitHub's option to archive the
plugin’s repository, to clearly signal the plugin's status to users.
What does unmaintained mean?
1. The code repository and all commit history will still be available.
1. Documentation will remain on the Packer website.
1. Issues and pull requests are monitored as a best effort.
1. No active development will be performed by HashiCorp.
If you are interested in maintaining an unmaintained or archived plugin, please reach out to us at [email protected].Top issues
#6615vagrant-cloud post-processor fails to upload 5GB box35 comments · 2018-08-22#8642curl failed to connect to packer set http server , which failed to fetch ks.cfg and which aborted the linux boot28 comments · 2020-01-22#7033OCI Windows Instance admin launch password - pass to winrm for provisioners24 comments · 2018-11-22#10583Need ability to reuse provisioners and post-processors just like builders can be reused with source blocks.23 comments · 2021-02-06#11659Confusing behavior in declaring variables that are set via variable files 21 comments · 2022-03-14#13341Environment variables intermittently and silently don't get set with Windows, Hyper-V and PowerShell18 comments · 2025-03-27#10341Bare Metal Linux ISO (not PXE) Redux18 comments · 2020-12-03#5107RFC: add -connection-info flag to build command18 comments · 2017-07-07
Latest release
v1.16.2 v1.16.2 2026-10-221.16.2 (October 22, 2026)
BUG FIXES:
core: fix case-insensitive parsing of generated enum values for configuration
types and PowerShell execution policies.
GH-13719
IMPROVEMENTS:
build: update Go to 1.26.10.
GH-13728
DEPENDENCIES:
deps: bump github.com/hashicorp/hcp-sdk-go to v0.176.0.
GH-13722
deps: bump github.com/hashicorp/packer-plugin-sdk in the plugin tester to
v0.6.13, github.com/hashicorp/hcl/v2 to v2.25.0, and
github.com/zclconf/go-cty to v1.19.0; update other dependencies.
GH-13728
test/deps: bump go.opentelemetry.io/otel/sdk in the plugin tester t