Skip to content

Packer scripts to build a Vagrant-compatible boot2docker box.

Notifications You must be signed in to change notification settings

colhom/boot2docker-vagrant-box

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

If you just want to use the box, then download the latest box from the releases page and vagrant up as usual! Or, if you don't want to leave your terminal:

$ vagrant init yungsang/boot2docker
$ vagrant up
$ export DOCKER_HOST=tcp://localhost:2375
$ docker version

Vagrant Up Boot2Docker

Building the Box

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

To build the box, first install the following prerequisites:

Then, just run make. The resulting box will be named boot2docker-virtualbox.box and boot2docker-parallels.box. The entire process to make the box takes about 20 seconds.

License

CC0
To the extent possible under law, the person who associated CC0 with this work has waived all copyright and related or neighboring rights to this work.

About

Packer scripts to build a Vagrant-compatible boot2docker box.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 57.9%
  • Ruby 42.1%