#!/bin/bash

# Add the Docker repository to your apt sources list.
sudo apt-get -y install curl wget git
sudo sh -c "wget -qO- https://get.docker.io/gpg | apt-key add -"
sudo sh -c "echo deb http://get.docker.io/ubuntu docker main > /etc/apt/sources.list.d/docker.list"

# Update your sources
sudo apt-get update

# Install
sudo apt-get -y install lxc-docker

#!/bin/bash

# Add the Docker repository to your apt sources list.
sudo apt-get -y install curl wget git
sudo sh -c "wget -qO- https://get.docker.io/gpg | apt-key add -"
sudo sh -c "echo deb http://get.docker.io/ubuntu docker main > /etc/apt/sources.list.d/docker.list"

# Update your sources
sudo apt-get update

# Install
sudo apt-get -y install lxc-docker
sudo apt-get -y install linux-image-extra-`uname -r`
sudo modprobe aufs

Make sure Docker has the AUFS module installed and activated.
Make sure Docker has the AUFS module installed and activated.
