Please note this project is currently under heavy development. It should not be used in production.
Install dependencies:
sudo apt-get install lxc wget bsdtar curl
sudo apt-get install linux-image-extra-`uname -r`
The linux-image-extra
package is needed on standard Ubuntu EC2 AMIs in order to install the aufs kernel module.
Install the latest docker binary:
wget http://get.docker.io/builds/$(uname -s)/$(uname -m)/docker-master.tgz
tar -xf docker-master.tgz
Run your first container!
cd docker-master
sudo ./docker run -i -t base /bin/bash
Done!
Consider adding docker to your PATH
for simplicity.
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.