Docker container under XEN VM

# enable wheezy backports repository
cat <<EOF> /etc/apt/sources.list.d/wheezy-backports.list
deb http://ftp.de.debian.org/debian wheezy-backports main
deb-src http://ftp.de.debian.org/debian wheezy-backports main
EOF
 
# install newest kernel
apt-get update
apt-get install -y -t wheezy-backports linux-image-amd64
 
# reboot your server
reboot
 
# view kernel version
uname -a
# Linux wheezy 3.16.0-0.bpo.4-amd64 #1 SMP Debian 3.16.7-ckt2-1~bpo70+1 (2014-12-08) x86_64 GNU/Linux
 
# install xen
wget -q --no-check-certificate https://raw.githubusercontent.com/panticz/installit/master/install.xen.sh -O - | bash -
 
# create xen machine
# http://www.panticz.de/DomU-Debian-Wheezy
 
# configure kernel in VM config
/etc/xen/wheezy
kernel      = '/boot/vmlinuz-3.16.0-0.bpo.4-amd64'
ramdisk     = '/boot/initrd.img-3.16.0-0.bpo.4-amd64'
 
# install Docker
apt-get install -y curl
curl -sSL https://get.docker.com/ | sh
 
# view docker info
docker version
docker info