Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Latest commit

 

History

History
23 lines (16 loc) · 661 Bytes

README.md

File metadata and controls

23 lines (16 loc) · 661 Bytes

Packer Template for Docker Images

This repository contains a Packer template for building machine images that are Docker-ready on top of Ubuntu 12.04. This involves upgrading the kernel and installing Docker.

Currently this is only setup for Amazon, but it should be trivial to add more platforms to this.

Usage

First, install Packer. Then, clone this repository and cd into it.

Run the following:

$ export AWS_ACCESS_KEY="your aws access key"
$ export AWS_SECRET_KEY="your aws secret key"
$ packer build template.json

At the end of that, you'll have an AMI ready to go for Docker.