DevOps Classroom Series – 15/Aug/2021

Packer

  • Every virtualization platform has its way of creating the reusable images.

  • Packer is a tool which can automate this. Refer Here

  • To install packer on your system Refer Here

    • Windows : choco install packer
    • Mac:
    brew tap hashicorp/tap
    brew install hashicorp/tap/packer
    
  • Terminology:

    • Builder: Builder defines where the image has to be created
    • Provisioners: What provisioning can be done to create the iamge
    • Variables: this section defines the parameters that can be passed as user input.
  • Command line

packer validate
packer build
  • Refer Here for the packer tempalte created in the class.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Please turn AdBlock off
Floating Social Media Icons by Acurax Wordpress Designers

Discover more from Direct DevOps from Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading

Visit Us On FacebookVisit Us On LinkedinVisit Us On Youtube