dduportal / boot2docker-vagrant-box

Packer scripts to build a Vagrant-compatible boot2docker box.
85 stars 32 forks source link

Build the box using docker-machine instead of packer #25

Open lmakarov opened 9 years ago

lmakarov commented 9 years ago

I decided to try building the boot2docker-vagrant base box with docker-machine instead of packer. I'm basically creating a copy of a docker-machine provisioned VirtualBox VM.

This approach shortens the gap between boot2docker-vagrant and docker-machine:

Take a look - https://github.com/lmakarov/boot2docker-vagrant-box/tree/docker-machine Passes all your tests ;)

Let me know what you think.

dduportal commented 9 years ago

Hello @lmakarov !

It seems a great idea, since it will make more accessible the box process (packer need some learnings, and maybe it's "too much" for this box).

Could you try to open a Pull Request, and let's study code together ?

(PS : It seems you can also add a MAINTAINER file à the root of the repo, and write down your name inside with mine :) )

phpguru commented 9 years ago

You guys are geniuses. :+1:

ehernandez-xk commented 8 years ago

Hi all, Do you know what is the status of this feature? I'm using this Vagrant Box (Thank you for that) and maybe you can recommend me the best way to do the following:

I want to create a custom Vagrant Box that will contain some Docker Images inside. I already tested using vagrant package command after provisioning, but I think this is not the best way.

I saw that you use Packer, it is possible to do this using Packer?

lmakarov commented 8 years ago

@ehernandez-xk we eventually switched to docker-machine and maintain our own version of the box https://github.com/blinkreaction/boot2docker-vagrant-box (in case you are interested).

@dduportal will know more about doing things with Packer.

ehernandez-xk commented 8 years ago

@lmakarov Thank you for your idea. Your project works perfectly. I'm going to use some ideas from it.

Thank you guys