2 Installing Packer

Welcome to the world of image building. In this chapter, we’ll take you through the process of installing Packer on a variety of platforms. This isn’t the full list of supported platforms but a representative sampling to get you started. We’ll look at installing Packer on:

  • Linux.
  • Microsoft Windows.
  • Mac OS X/macOS.

The lessons here for installing Packer can be extended to the other supported platforms.

Note We’ve written the examples in this book assuming Packer is running on a Linux distribution. The examples should also work for Mac OS X but might need tweaking for Microsoft Windows.

Now, we’ll install Packer. In the next chapter, we’ll start to learn how to use it to create, manage, and destroy images. We’ll also delve ...

Get The Packer Book now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.