GithubHelp home page GithubHelp logo

mingderwang / packer-docker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tcnksm-sample/packer-docker

0.0 3.0 0.0 132 KB

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

Puppet 24.52% Ruby 75.48%

packer-docker's Introduction

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

Chef

Build docker image with chef provisioning

$ packer build machine_chef.json

Check it.

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

Puppet

Build docker image with puppet provisioning

$ packer build machine_puppet.json

Check it.

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

Ansible

Build docker image with ansible provisioning

$ packer build machine_ansible.json

Check it.

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

packer-docker's People

Contributors

tcnksm avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.