Requirements
Install 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`
Install Docker
Add the Ubuntu PPA (Personal Package Archive) sources to your apt sources list, update and install.
You may see some warnings that the GPG keys cannot be verified.
sudo sh -c "echo 'deb http://ppa.launchpad.net/dotcloud/lxc-docker/ubuntu precise main' >> /etc/apt/sources.list"
sudo apt-get update
sudo apt-get install lxc-docker
Run!
docker run -i -t ubuntu /bin/bash
Want to hack on Docker? Awesome! We have some instructions to get you started. They are probably not perfect, please let us know if anything feels wrong or incomplete.
For other operating systems we recommend and provide a streamlined install with virtualbox, vagrant and an Ubuntu virtual machine.