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 comment

Turn on JavaScript to leave a comment.

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

Please turn AdBlock off
Social Network Integration by Acurax Social Media Branding Company
Exit mobile version
%%footer%%