Git Product home page Git Product logo

docker-ami's Introduction

docker-AMI

Scripts used to create docker-AMI images

Using

  1. Create the following environment variables in your ~/.bashrc file:

    export AWS_KEY="<your key>"
    export AWS_SECRET="<your secret>"
    export PRIVATE_KEY_NAME="<name of private key>"
    export PATH_TO_PRIVATE_KEY="<path to private key>"
    export PRIVATE_KEY_PASSWORD="<password for key>"
  2. Set the following:

    export IMAGE_ID="ami-d0f89fb9"
    export IMAGE_NAME="Ubuntu Server 12.04.2 LTS AMI ID ami-d0f89fb9 (x86_64)"
    export IMAGE_SIZE="25"
  3. Build the new image:

    python setup.py install
    build-docker-ami $AWS_KEY $AWS_SECRET "$IMAGE_ID" "$IMAGE_NAME" \
                     "$PRIVATE_KEY_NAME" "$PATH_TO_PRIVATE_KEY" \
                     "$PRIVATE_KEY_PASSWORD" $IMAGE_SIZE

Additional things to consider:

  • Image names are unique. If the image already exists by name, it will not be recreated.
  • Image names AMI names must be between 3 and 128 characters long, and may contain letters, numbers, '(', ')', '.', '-', '/' and '_'

AMIs

Base Images

AMI Image ID Description +
ami-d0f89fb9 Ubuntu Server 12.04.2 LTS AMI ID ami-d0f89fb9 (x86_64)
ami-c30360aa Ubuntu Server 13.04 AMI ID ami-c30360aa (x86_64)

Built Images

Docker Version AMI Image ID Description +
0.4.7 ami-6282f00b Docker Version (0.4.7) - Ubuntu Server 13.04 AMI ID ami-c30360aa (x86_64)
0.4.7 ami-2a82f043 Docker Version (0.4.7) - Ubuntu Server 12.04.2 LTS AMI ID ami-d0f89fb9 (x86_64)

docker-ami's People

Contributors

andresriancho avatar johncosta avatar

Watchers

Philippe Ombredanne avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.