Skip to content

Instantly share code, notes, and snippets.

@kfatehi
Last active August 29, 2015 14:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kfatehi/aa8e9f39b789ec431ea8 to your computer and use it in GitHub Desktop.
Save kfatehi/aa8e9f39b789ec431ea8 to your computer and use it in GitHub Desktop.
Docker HTTP Host Manifest Ubuntu 12.04 LTS
apt-get -y update
apt-get -y install linux-image-generic-lts-raring linux-headers-generic-lts-raring
reboot
# Check that HTTPS transport is available to APT
if [ ! -e /usr/lib/apt/methods/https ]; then
apt-get update
apt-get install -y apt-transport-https
fi
# Add the repository to your APT sources
echo deb https://get.docker.io/ubuntu docker main > /etc/apt/sources.list.d/docker.list
# Then import the repository key
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9
# Install docker
apt-get update ; apt-get install -y lxc-docker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment