Skip to content

Instantly share code, notes, and snippets.

@maedoc
Created May 13, 2017 07:55
Show Gist options
  • Save maedoc/ec87655e6685dd94c2d3f44e86f6533a to your computer and use it in GitHub Desktop.
Save maedoc/ec87655e6685dd94c2d3f44e86f6533a to your computer and use it in GitHub Desktop.
Install Docker on Wheezy w/ older kernel
#!/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