Install Docker on Linode (Ubuntu 12.04)
apt-get update
apt-get install linux-virtual grub-legacy-ec2
Find this line in /boot/grub/menu.list:
defoptions=console=hvc0
** Do not uncomment the line below ** (I emphasize that because I did despite the Linode wiki telling me not to =) Append rootflags=nobarrier so it looks like this:
defoptions=console=hvc0 rootflags=nobarrier
Regenerate /boot/grun/menu.lst with this command:
update-grub-legacy-ec2
Next, go to your Linode Manager Dashboard and edit the configuration profile of this instance.
Make the following changes, and save.
Kernel: pv-grub-x86_64
Xenify Distro: No
Reboot the server after saving the configuration.
There are 2 ways to install Docker Docker install option 1: Curl
curl http://get.docker.io | sh
Docker install option 2: Getting started documentation You will need to install python-software-properties in orer for the Docker, Getting Started documentation to work. (That is so the add-apt-repository command will work)
apt-get install python-software-properties
Now, onto installing Docker: (Getting started instructions as of 7/20/2013)
apt-get install linux-image-extra-`uname -r`
apt-get install software-properties-common
add-apt-repository ppa:dotcloud/lxc-docker
apt-get update
apt-get install lxc-docker
Test the install by running Docker!
docker run -i -t ubuntu /bin/bash