2014-10-20 16:47:30 -04:00
|
|
|
---
|
2017-03-25 18:13:52 -04:00
|
|
|
description: |-
|
|
|
|
Packer is a free and open source tool for creating golden images for multiple
|
|
|
|
platforms from a single source configuration.
|
2014-10-20 16:47:30 -04:00
|
|
|
---
|
|
|
|
|
2017-03-28 16:04:27 -04:00
|
|
|
<header>
|
|
|
|
<div class="container hero">
|
2017-03-28 00:32:51 -04:00
|
|
|
<div class="row">
|
2017-04-13 14:59:29 -04:00
|
|
|
|
|
|
|
<div class="col-md-offset-3 col-md-6 col-sm-offset-2 col-sm-8">
|
2017-04-18 14:04:21 -04:00
|
|
|
<%= inline_svg "logo-hashicorp.svg", height: 120, class: "logo" %>
|
2017-03-28 16:04:27 -04:00
|
|
|
|
2017-03-28 00:32:51 -04:00
|
|
|
<h1>
|
2017-03-28 16:04:27 -04:00
|
|
|
Build Automated Machine Images
|
2017-03-28 00:32:51 -04:00
|
|
|
</h1>
|
2017-03-28 16:04:27 -04:00
|
|
|
|
|
|
|
<a class="button primary" href="/intro/index.html">Get Started</a>
|
|
|
|
<a class="button" href="/downloads.html">Download <%= latest_version %></a>
|
|
|
|
</div>
|
2015-07-22 20:18:08 -04:00
|
|
|
</div>
|
2017-03-28 00:32:51 -04:00
|
|
|
</div>
|
|
|
|
</header>
|
2017-03-25 18:13:52 -04:00
|
|
|
|
2017-03-28 16:04:27 -04:00
|
|
|
<section id="automated" class="marketing">
|
|
|
|
<div class="container">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-6">
|
2017-04-06 18:01:17 -04:00
|
|
|
<div class="terminal">
|
|
|
|
<span class="circle"></span>
|
|
|
|
<span class="circle"></span>
|
|
|
|
<span class="circle"></span>
|
|
|
|
<div class="terminal-content">
|
|
|
|
<span>$ packer build template.json</span>
|
|
|
|
<span class="vbox">==> virtualbox: virtualbox output will be in this color.</span>
|
|
|
|
<span class="vmware">==> vmware: vmware output will be in this color.</span>
|
|
|
|
<span></span>
|
|
|
|
<span class="vmware">==> vmware: Copying or downloading ISO. Progress will be reported periodically.</span>
|
|
|
|
<span class="vmware">==> vmware: Creating virtual machine disk</span>
|
|
|
|
<span class="vmware">==> vmware: Building and writing VMX file</span>
|
|
|
|
<span class="vmware">==> vmware: Starting HTTP server on port 8964</span>
|
|
|
|
<span class="vmware">==> vmware: Starting virtual machine...</span>
|
|
|
|
<span class="vbox">==> virtualbox: Downloading VirtualBox guest additions. Progress will be shown periodically.</span>
|
|
|
|
<span class="vbox">==> virtualbox: Copying or downloading ISO. Progress will be reported periodically.</span>
|
|
|
|
<span class="vbox">==> virtualbox: Starting HTTP server on port 8081</span>
|
|
|
|
<span class="vbox">==> virtualbox: Creating virtual machine...</span>
|
|
|
|
<span class="vbox">==> virtualbox: Creating hard drive...</span>
|
|
|
|
<span class="vbox">==> virtualbox: Creating forwarded port mapping for SSH (host port 3213)</span>
|
|
|
|
<span class="vbox">==> virtualbox: Executing custom VBoxManage commands...</span>
|
|
|
|
<span class="vbox"> virtualbox: Executing: modifyvm packer --memory 480</span>
|
|
|
|
<span class="vbox"> virtualbox: Executing: modifyvm packer --cpus 1</span>
|
|
|
|
<span class="vbox">==> virtualbox: Starting the virtual machine...</span>
|
|
|
|
<span class="vmware">==> vmware: Waiting 10s for boot...</span>
|
|
|
|
<span class="vbox">==> virtualbox: Waiting 10s for boot...</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-03-28 16:04:27 -04:00
|
|
|
</div>
|
|
|
|
<div class="col-md-6">
|
|
|
|
<span class="callout">Infrastructure as code</span>
|
|
|
|
<h2>Modern, Automated</h2>
|
|
|
|
<p>
|
2018-03-06 19:05:39 -05:00
|
|
|
HashiCorp Packer is easy to use and automates the creation of any type of
|
2017-03-28 16:04:27 -04:00
|
|
|
machine image. It embraces modern configuration management by
|
|
|
|
encouraging you to use automated scripts to install and configure
|
|
|
|
the software within your Packer-made images. Packer brings machine
|
|
|
|
images into the modern age, unlocking untapped potential and opening
|
|
|
|
new opportunities.
|
|
|
|
</p>
|
2015-07-22 20:18:08 -04:00
|
|
|
</div>
|
|
|
|
</div>
|
2017-03-28 16:04:27 -04:00
|
|
|
</div>
|
|
|
|
</section>
|
2017-03-25 18:13:52 -04:00
|
|
|
|
2017-03-28 16:04:27 -04:00
|
|
|
<section id="integrations" class="marketing invert">
|
|
|
|
<div class="container">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-6">
|
|
|
|
<span class="callout">Integrations</span>
|
|
|
|
<h2>Works Out of The Box</h2>
|
|
|
|
<p>
|
|
|
|
Out of the box Packer comes with support to build images for
|
|
|
|
Amazon EC2, CloudStack, DigitalOcean, Docker, Google Compute
|
|
|
|
Engine, Microsoft Azure, QEMU, VirtualBox, VMware, and more.
|
|
|
|
Support for more platforms is on the way, and anyone can add
|
|
|
|
new platforms via plugins.
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-6">
|
|
|
|
<div class="integrations-list">
|
|
|
|
<div class="integration">
|
|
|
|
<%= image_tag("integrations/azure.svg", alt: "Microsoft Azure") %>
|
|
|
|
</div>
|
|
|
|
<div class="integration">
|
|
|
|
<%= image_tag("integrations/aws.svg", alt: "Amazon AWS") %>
|
|
|
|
</div>
|
|
|
|
<div class="integration">
|
|
|
|
<%= image_tag("integrations/vmware.svg", alt: "VMware") %>
|
|
|
|
</div>
|
|
|
|
<div class="integration">
|
|
|
|
<%= image_tag("integrations/google-cloud.svg", alt: "Google Cloud") %>
|
|
|
|
</div>
|
|
|
|
<div class="integration">
|
|
|
|
<%= image_tag("integrations/docker.svg", alt: "Docker") %>
|
|
|
|
</div>
|
|
|
|
<div class="integration">
|
2017-04-11 14:22:15 -04:00
|
|
|
<%= image_tag("integrations/digitalocean.svg", alt: "Digital Ocean") %>
|
2017-03-25 18:13:52 -04:00
|
|
|
</div>
|
2015-07-22 20:18:08 -04:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-03-28 16:04:27 -04:00
|
|
|
</div>
|
|
|
|
</section>
|