June 20-22 Announcing HashiConf Europe full schedule: keynotes, sessions, labs & more Register Now
  • Infrastructure
    • terraform
    • packer
  • Networking
    • consul
  • Security
    • vault
    • boundary
  • Applications
    • nomad
    • waypoint
    • vagrant
  • HashiCorp Cloud Platform

    A fully managed platform to automate infrastructure on any cloud with HashiCorp products.

    • consul
    • terraform
    • vault
    • packerbeta
    Visit cloud.hashicorp.com
  • Overview
  • Tutorials
  • Docs
  • Plugins
  • Community
GitHubInstall PackerTry HCP Packer
    • v1.8.x (latest)
    • v1.7.x
    • v1.6.x
    • v1.5.x
  • Upgrade Your Plugin to use the Packer plugin sdk
  • Upgrade Your Template to use Packer init
    • Overview
    • Variables
    • Upgrade Packer JSON Template to HCL2
    • Making a plugin HCL2 enabled
    • Overview
    • Unattended Installation for Windows
    • Unattended Installation for Debian
    • Overview
    • Build Images in CI/CD
    • Build a VirtualBox Image with Packer in TeamCity
    • Pipelineing Builds
    • Trigger Terraform Enterprise runs
    • Upload a VirtualBox Image to S3
Type '/' to Search

»Build Images in CI/CD

The following guides from our partners show how to use their services to build images with Packer.

  • How to Build Immutable Infrastructure with Packer and CircleCI Workflows
  • Using Packer and Ansible to Build Immutable Infrastructure in CodeShip

The majority of the Packer Builders can run just fine in a container, a common model used by most CI/CD services. However, while it is possible to run many builders in containers or nested virtualization, this may require advanced configuration; examples include the QEMU builder for KVM or Xen, the VirtualBox builder for OVA or OVF virtual machines, and the VMware builder for use with VMware products that are all designed to run on a bare-metal machine or within nested virtualization.

The Building a VirtualBox Image with Packer in TeamCity guide shows how to create a VirtualBox image using TeamCity's support for running scripts on bare-metal machines.

github logoEdit this page
IntroGuidesDocsCommunityPrivacySecurityPress KitConsent Manager