mitchellh / boot2docker-vagrant-box

Packer scripts to build a Vagrant-compatible boot2docker box.
425 stars 183 forks source link

Packer only build process #72

Closed dduportal closed 9 years ago

dduportal commented 9 years ago

Hi !

This PR introduce a new build process based only on packer (the goal was to not download a big vagrant box nor a big Docker image).

First, it contains these PRs :

Secondly, it add these changes :

It will use the original boot2docker iso file, and tune it using a provision script + boot2docker perisstence options added recently. The boot2docker documentation says that if you have a userdata.tar in //var/lib/boot2docker, then it will be unarchived in /home/docker/ at the end of the boot : it's seems to be a good idea to push the vagrant ssh keys here no ? See https://github.com/boot2docker/boot2docker#upgrade-the-boot2docker-vm-image

legal90 commented 9 years ago

@dduportal About enabling SSL: How does machine certificates will be verified on the host side? I have not found any manipulations with DOCKER_CERT_PATH For example, docker-machine utility copies CA from each guest VM to the host. But I don't see something similar here. How does it works for you?