kazuph / packer-docker

Sample of building docker image by packer with chef or puppet, ansible provisioning

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Docker image by Packer

You can build Docker images without Dockerfile.

How to build

Run docker

$ vagrant up

This will install docker and packer in vagrant box.

$ vagrant ssh

Ansible

Build docker image with ansible provisioning

$ packer build --debug machine_ansible.json

Check it.

$ docker run -i -t tcnksm/packer-ansible:0.1 bash

About

Sample of building docker image by packer with chef or puppet, ansible provisioning


Languages

Language:Ruby 75.5%Language:Puppet 24.5%