HashiCorp Packer automates the creation of any type of machine image, including Docker images. You'll build a Docker image on your local machine without using any paid cloud resources.
Packer must first be installed on the machine you want to run it on.
7min
Build an Image
With Packer installed, let's just dive right into it and build our first
image. Packer can create images for many platforms with anything pre-installed.
In this example, you will build a Docker image with Packer.
6min
Provision
Packer fully supports automated provisioning in order to install software
onto machines prior to turning them into images.
6min
Variables
Packer templates can be parameterized using variables.
5min
Parallel Builds
Create multiple images for multiple platforms in parallel, from one Packer
template, by creating a source. Build Ubuntu and Ubuntu Focal images for Docker.
5min
Post-Processors
Packer also has the ability to modify the artifact of a build once the
instance has been shut down