Giter Site home page Giter Site logo

jonathanrrogers / boot2docker-vagrant-box Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mitchellh/boot2docker-vagrant-box

0.0 2.0 0.0 818 KB

Packer scripts to build a Vagrant-compatible boot2docker box.

Makefile 7.43% Shell 58.20% Smarty 34.37%

boot2docker-vagrant-box's Introduction

boot2docker Vagrant Box

This repository contains the scripts necessary to create a Vagrant-compatible boot2docker box. If you work solely with Docker, this box lets you keep your Vagrant workflow and work in the most minimal Docker environment possible.

Usage

The box is available on Vagrant Cloud, making it very easy to use it:

$ vagrant init mitchellh/boot2docker
$ vagrant up

If you want the actual box file, you can download it from the releases page.

On OS X, to use the docker client, follow the directions here: http://docs.docker.io/installation/mac/#docker-os-x-client (you'll need to export DOCKER_HOST). You should then be able to to run docker version from the host.

Vagrant Up Boot2Docker

Building the Box

If you want to recreate the box, rather than using the binary, then you can use the scripts and Packer template within this repository to do so in seconds.

To build the box, first install the following prerequisites:

Then follow the steps:

$ vagrant up
...
$ vagrant ssh -c 'cd /vagrant && sudo ./build-iso.sh'
...
$ vagrant destroy --force
...
$ packer build template.json
...

You can restrict only VirtualBox, VMware, or Parallels by specifying the -only flag to Packer.

boot2docker-vagrant-box's People

Contributors

dduportal avatar dlitz avatar felixbuenemann avatar fnichol avatar ingoclaro avatar jfoy avatar legal90 avatar lmars avatar luislavena avatar mitchellh avatar myatagaw avatar refractalize avatar sennerholm avatar shawnbutts avatar simonista avatar spheromak avatar tfduesing avatar wjordan avatar wojtekmach avatar

Watchers

 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.