[WIP] Docker packaging for Vagrant #1660
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is a first run to package docker in a nice pre-built vagrant box. It's not finished yet but I thought it might be better to avoid duplicating the effort. Feel free to take over as I'm going to be quite busy for a while.
The current build uses packer, the build tool developed by the same guy that's behind vagrant. It supports only 3 vagrant targets (VirtualBox, VMWare Fusion, AWS) for the moment but more are surely to come. For now only VirtualBox is tested and VMWare is supposed to work but I didn't have it available on my computer.
The build installs Ubuntu 12.04.3 with the raring (3.8) kernel, a minimal set of dependencies and the new docker 0.6.
Install packer and run
packer --only=virtualbox template.json
to get the output (~280MB)There's still a couple of things I wanted to check out:
That's it for now. Feel free to close if you feel this is not needed I won't get offended :)