Packer is a tool for creating identical machine images for multiple platforms from a single source configuration.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Go to file
Tanmay Jain ef9c2e65f6
Merge pull request #13558 from hashicorp/prepare-1.15.1
2 weeks ago
.github [COMPLIANCE] Update Copyright and License Headers 3 months ago
.release [COMPLIANCE] Update Copyright and License Headers 3 months ago
acctest [COMPLIANCE] Update Copyright and License Headers (Batch 1 of 5) 2 months ago
builder [COMPLIANCE] Update Copyright and License Headers (Batch 1 of 5) 2 months ago
cmd [COMPLIANCE] Update Copyright and License Headers (Batch 1 of 5) 2 months ago
command [COMPLIANCE] Update Copyright and License Headers (Batch 1 of 5) 2 months ago
contrib/zsh-completion Update fix command autocomplete to work for JSON template files only (#12366) 3 years ago
datasource [COMPLIANCE] Update Copyright and License Headers (Batch 1 of 5) 2 months ago
examples Fixes typos in docs (#11322) 4 years ago
fix Merge pull request #13545 from hashicorp/compliance/update-headers-batch-2 2 months ago
hcl2template Merge pull request #13545 from hashicorp/compliance/update-headers-batch-2 2 months ago
helper [COMPLIANCE] Update Copyright and License Headers 3 months ago
internal Merge pull request #13545 from hashicorp/compliance/update-headers-batch-2 2 months ago
packer Merge pull request #13544 from hashicorp/compliance/update-headers-batch-3 2 months ago
packer_test [COMPLIANCE] Update Copyright and License Headers (Batch 3 of 5) 2 months ago
post-processor [COMPLIANCE] Update Copyright and License Headers (Batch 3 of 5) 2 months ago
provisioner Merge pull request #13539 from MBradbury/powershell-test-lastexitcode 3 weeks ago
scripts [COMPLIANCE] Update Copyright and License Headers (Batch 3 of 5) 2 months ago
version version: prepare dev v1.15.1 2 weeks ago
website Merge pull request #13532 from hashicorp/channel-assignment 2 months ago
.copywrite.hcl update year in license files 2 years ago
.gitattributes HCL2: add templatefile function (#10776) 5 years ago
.gitignore Remove the vendor dir (#10916) 5 years ago
.go-version Bump x/crypto to v0.46.0 2 months ago
.golangci.yml [COMPLIANCE] Update Copyright and License Headers 3 months ago
CHANGELOG.md version: cut release v1.15.0 2 weeks ago
CODEOWNERS add access to redirects and readme 1 year ago
Dockerfile Merge pull request #13442 from hashicorp/anshul/docker_img_official_plugin 3 weeks ago
LICENSE update year in license files 2 years ago
Makefile bump golang.org/x/crypto to 0.43.0 (#13518) 3 months ago
README.md Update README 2 years ago
Vagrantfile vagrantfile: add support for docker provider 7 years ago
background_check.go [COMPLIANCE] Update Copyright and License Headers (Batch 1 of 5) 2 months ago
background_check_openbsd.go [COMPLIANCE] Update Copyright and License Headers (Batch 1 of 5) 2 months ago
checkpoint.go [COMPLIANCE] Update Copyright and License Headers (Batch 1 of 5) 2 months ago
commands.go [COMPLIANCE] Update Copyright and License Headers (Batch 1 of 5) 2 months ago
config.go [COMPLIANCE] Update Copyright and License Headers (Batch 1 of 5) 2 months ago
config_test.go [COMPLIANCE] Update Copyright and License Headers (Batch 1 of 5) 2 months ago
go Bump Go tooling version to 1.20.8 2 years ago
go.mod Updates Go version to 1.24.12 3 weeks ago
go.sum Bump x/crypto to v0.46.0 2 months ago
log.go [COMPLIANCE] Update Copyright and License Headers (Batch 2 of 5) 2 months ago
main.go [COMPLIANCE] Update Copyright and License Headers (Batch 2 of 5) 2 months ago
main_test.go [COMPLIANCE] Update Copyright and License Headers (Batch 2 of 5) 2 months ago
panic.go [COMPLIANCE] Update Copyright and License Headers (Batch 3 of 5) 2 months ago
tty.go [COMPLIANCE] Update Copyright and License Headers (Batch 3 of 5) 2 months ago
tty_solaris.go [COMPLIANCE] Update Copyright and License Headers (Batch 3 of 5) 2 months ago

README.md

Packer

License: BUSL-1.1 Build Status Discuss

HashiCorp Packer logo

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.

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 plugins 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.
  2. Documentation will remain on the Packer website.
  3. Issues and pull requests are monitored as a best effort.
  4. 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 packer@hashicorp.com.