Skip to content
This repository has been archived by the owner on May 19, 2021. It is now read-only.

Latest commit

 

History

History
36 lines (22 loc) · 1.07 KB

README.md

File metadata and controls

36 lines (22 loc) · 1.07 KB

vagrant-packer

packer.io script to build a basebox with installed Docker, docker-compose for vagrant.


Requirements

  • Installed Virtualbox (tested with 5.1.28 r117968)
  • Installed Packer (tested with 1.1.0)

HOW TO USE

  • Clone this git repository into the directory packer_build

git clone https://github.com/reinblau/vagrant-packer.git

  • Navigate into the vagrant-packer directory

cd vagrant-packer

  • Run the command

packer build dockerhost_local.json

  • After the packer is ready it creates a file called packer_virtualbox-iso_virtualbox.box which can be used in vagrant

  • Add the box to vagrant

vagrant box add --name=docker packer_virtualbox-iso_virtualbox.box

  • Start new vagrant box

    vagrant up