Debian 7.7 - Install Docker
Docker is a tool that allows one to deploy complex applications with ease because that application is automatically built and held in a "container" that can be run like an executeable.
Debian is a Linux distribution that doesn't require frequent reboots.
Unfortuanately, docker requires a newer version of the kernel than the current stable version of Debian (Wheezy) ships with, so here are the steps you need to perform in order to be able to deploy Docker containers on Debian Wheezy.
Run the following commands on your debian server
sudo apt-get update sudo apt-get upgrade -y echo 'deb http://http.debian.net/debian wheezy-backports main' | sudo tee -a /etc/apt/sources.list sudo apt-get install curl -y sudo apt-get install -t wheezy-backports linux-image-amd64 -y sudo reboot
After the computer has finished rebooting, run:
curl -sSL https://get.docker.com/ | sh
Optional - Docker Group
Having to type sudo before every docker command is annoying. If you add yourself to the docker group, then you don't have to do this anymore.
sudo usermod -a -G docker $USER
First published: 16th August 2018