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 681b0fa6e7
Merge branch 'main' into compliance/add-headers
7 days ago
.github Merge branch 'main' into compliance/add-headers 7 days ago
.release [COMPLIANCE] Add/Update Copyright Headers 2 weeks ago
acctest [COMPLIANCE] Add/Update Copyright Headers 2 weeks ago
builder [COMPLIANCE] Add/Update Copyright Headers 2 weeks ago
cmd [COMPLIANCE] Add/Update Copyright Headers 2 weeks ago
command Fix 7 days ago
contrib/zsh-completion Update fix command autocomplete to work for JSON template files only (#12366) 3 years ago
datasource [COMPLIANCE] Add/Update Copyright Headers 2 weeks ago
examples Fixes typos in docs (#11322) 5 years ago
fix [COMPLIANCE] Add/Update Copyright Headers 2 weeks ago
hcl2template [COMPLIANCE] Add/Update Copyright Headers 2 weeks ago
helper [COMPLIANCE] Add/Update Copyright Headers 2 weeks ago
internal [COMPLIANCE] Add/Update Copyright Headers 2 weeks ago
packer [COMPLIANCE] Add/Update Copyright Headers 2 weeks ago
packer_test [COMPLIANCE] Add/Update Copyright Headers 2 weeks ago
post-processor [COMPLIANCE] Add/Update Copyright Headers 2 weeks ago
provisioner [COMPLIANCE] Add/Update Copyright Headers 2 weeks ago
scripts [COMPLIANCE] Add/Update Copyright Headers 2 weeks ago
version [COMPLIANCE] Add/Update Copyright Headers 2 weeks ago
website Merge pull request #13532 from hashicorp/channel-assignment 6 months ago
.copywrite.hcl update year in license files 3 years ago
.gitattributes HCL2: add templatefile function (#10776) 5 years ago
.gitignore Remove the vendor dir (#10916) 5 years ago
.go-version Update Go version and refresh dependencies 7 days ago
.golangci.yml [COMPLIANCE] Add/Update Copyright Headers 2 weeks ago
CHANGELOG.md version: cut release v1.15.3 1 month ago
CODEOWNERS add access to redirects and readme 1 year ago
Dockerfile [COMPLIANCE] Add/Update Copyright Headers 2 weeks ago
LICENSE Update LICENSE 3 months ago
Makefile docs: remove docs validation from packer (#13577) 3 months ago
README.md docs: remove docs validation from packer (#13577) 3 months ago
Vagrantfile vagrantfile: add support for docker provider 8 years ago
background_check.go [COMPLIANCE] Add/Update Copyright Headers 2 weeks ago
background_check_openbsd.go [COMPLIANCE] Add/Update Copyright Headers 2 weeks ago
checkpoint.go [COMPLIANCE] Add/Update Copyright Headers 2 weeks ago
commands.go [COMPLIANCE] Add/Update Copyright Headers 2 weeks ago
config.go [COMPLIANCE] Add/Update Copyright Headers 2 weeks ago
config_test.go [COMPLIANCE] Add/Update Copyright Headers 2 weeks ago
go Bump Go tooling version to 1.20.8 3 years ago
go.mod Update Go version and refresh dependencies 7 days ago
go.sum Update Go version and refresh dependencies 7 days ago
log.go [COMPLIANCE] Add/Update Copyright Headers 2 weeks ago
main.go [COMPLIANCE] Add/Update Copyright Headers 2 weeks ago
main_test.go [COMPLIANCE] Add/Update Copyright Headers 2 weeks ago
panic.go [COMPLIANCE] Add/Update Copyright Headers 2 weeks ago
tty.go [COMPLIANCE] Add/Update Copyright Headers 2 weeks ago
tty_solaris.go [COMPLIANCE] Add/Update Copyright Headers 2 weeks 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.

Contributing to Documentation

Important: Packer documentation has moved to the hashicorp/web-unified-docs repository.

To contribute documentation changes:

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.