DOCUMENTATION

Ubuntu Linux

Please note this project is currently under heavy development. It should not be used in production.

Right now, the officially supported distributions are:

  • Ubuntu 12.04 (precise LTS) (64-bit)
  • Ubuntu 12.10 (quantal) (64-bit)

Dependencies

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

sudo apt-get install linux-image-extra-`uname -r`

Installation

Docker is available as a Ubuntu PPA (Personal Package Archive), hosted on launchpad which makes installing Docker on Ubuntu very easy.

Add the custom package sources to your apt sources list. Copy and paste the following lines at once.

sudo sh -c "echo 'deb http://ppa.launchpad.net/dotcloud/lxc-docker/ubuntu precise main' >> /etc/apt/sources.list"

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

sudo apt-get update

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

sudo apt-get install lxc-docker

Verify it worked

docker

Done!, now continue with the Hello World example.