From 690e1186704eff65ff72404eb2a686b2b205ee7c Mon Sep 17 00:00:00 2001 From: Thatcher Peskens Date: Mon, 22 Apr 2013 13:36:00 -0700 Subject: [PATCH] Updated gettingstarted with quicker install. --- docs/sources/gettingstarted/index.html | 34 ++++++++++++++++---------- 1 file changed, 21 insertions(+), 13 deletions(-) diff --git a/docs/sources/gettingstarted/index.html b/docs/sources/gettingstarted/index.html index b86e9bbdd4..1022879071 100644 --- a/docs/sources/gettingstarted/index.html +++ b/docs/sources/gettingstarted/index.html @@ -71,34 +71,42 @@

Installing on Ubuntu

+ Requirements +
  1. -

    Install dependencies:

    +

    Add the Ubuntu PPA (Personal Package Archive) sources to your apt sources list. Copy and + paste the following lines at once.

    -
    sudo apt-get install lxc wget bsdtar curl
    -
    sudo apt-get install linux-image-extra-`uname -r`
    +
    sudo sh -c "echo 'deb http://ppa.launchpad.net/dotcloud/lxc-docker/ubuntu precise main' >> /etc/apt/sources.list"
    -

    The linux-image-extra package is needed on standard Ubuntu EC2 AMIs in order to install the aufs kernel module.

  2. -

    Install the latest docker binary:

    +

    Update your sources. You will see a warning that GPG signatures cannot be verified.

    -
    wget http://get.docker.io/builds/$(uname -s)/$(uname -m)/docker-master.tgz
    -
    tar -xf docker-master.tgz
    +
    sudo apt-get update
  3. -

    Run your first container!

    +

    Now install it, you will see another warning that the package cannot be authenticated. Confirm install.

    -
    cd docker-master
    -
    sudo ./docker run -i -t base /bin/bash
    +
    +
    sudo apt-get install lxc-docker
    -

    Done!

    -

    Consider adding docker to your PATH for simplicity.

  4. +
  5. +

    Run!

    + +
    +
    docker
    +
    +
  6. Continue with the Hello world example.
@@ -117,7 +125,7 @@ vagrant and an Ubuntu virtual machine.