Want to take your software engineering career to the next level? Join the mailing list for career tips & advice Click here


Packer scripts to build a Vagrant-compatible boot2docker box.

Subscribe to updates I use boot2docker-vagrant-box

Statistics on boot2docker-vagrant-box

Number of watchers on Github 423
Number of open issues 13
Average time to close an issue about 1 month
Main language Smarty
Average time to merge a PR 7 days
Open pull requests 1+
Closed pull requests 28+
Last commit about 5 years ago
Repo Created over 6 years ago
Repo Last Updated over 2 years ago
Size 721 KB
Organization / Authormitchellh
Latest Releasev1.2.0
Page Updated
Do you use boot2docker-vagrant-box? Leave a review!
View open issues (13)
View boot2docker-vagrant-box activity
View on github
Book a Mock Interview With Me (Silicon Valley Engineering Leader, 100s of interviews conducted)
Software engineers: It's time to get promoted. Starting NOW! Subscribe to my mailing list and I will equip you with tools, tips and actionable advice to grow in your career.
Evaluating boot2docker-vagrant-box for your project? Score Explanation
Commits Score (?)
Issues & PR Score (?)

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.


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 open issues Ask a question     (View All Issues)
  • almost 5 years Could not reach any registry endpoint
  • over 5 years Insufficient graphic memory for boot2docker Vbox VM when using docker provider with force_host_vm
  • over 5 years Version bump to 1.3.0
  • almost 6 years Update to 1.3.1
  • almost 6 years Can't create directory (Windows 7)
  • about 6 years NFS shared folder mounting hangs
  • over 6 years Forward container ports to the host
  • over 6 years Unable to boot on vmware, goes straight to PXE
  • over 6 years How to upgrade?
  • over 6 years Parallels not working?
  • over 6 years Cannot run with VMWare Fusion 5
  • over 6 years Hyper-V build
  • over 6 years /vagrant folder not there - Guest Additions not installing.
boot2docker-vagrant-box open pull requests (View All Pulls)
  • Upgraded to 1.9.1
boot2docker-vagrant-box list of languages used
boot2docker-vagrant-box latest release notes
v1.2.0 v1.2.0
  • boot2docker v1.2.0
v0.8.0 v0.8.0
  • boot2docker v0.8.0
  • now on Vagrant Cloud
v0.5.4-1 v0.5.4-1
  • Fixes an issue with no disk space being available.
  • Based on b2d v0.5.4
Other projects in Smarty
Powered by Autocode - Instant Webhooks, Scripts and APIs
Autocode logo wordmark