Created
May 13, 2017 07:55
-
-
Save maedoc/ec87655e6685dd94c2d3f44e86f6533a to your computer and use it in GitHub Desktop.
Install Docker on Wheezy w/ older kernel
This file contains hidden or 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
#!/bin/bash | |
apt-get update | |
apt-get install -y apt-transport-https ca-certificates curl python-software-properties | |
curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add - | |
echo "deb [arch=amd64] https://download.docker.com/linux/debian wheezy stable" >> /etc/apt/sources.list | |
echo "deb http://ftp.debian.org/debian/ wheezy-backports main" >> /etc/apt/sources.list | |
apt-get update | |
apt-get install -y init-system-helpers docker-ce | |
apt-get -t wheezy-backports install -y linux-image-amd64 | |
reboot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment