Last active
August 29, 2015 14:00
-
-
Save kfatehi/aa8e9f39b789ec431ea8 to your computer and use it in GitHub Desktop.
Docker HTTP Host Manifest Ubuntu 12.04 LTS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt-get -y update | |
apt-get -y install linux-image-generic-lts-raring linux-headers-generic-lts-raring | |
reboot |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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