How can I install a specific version of docker, e.g. 1.6.2?
The docker docs say to install on Ubuntu, use the following command:
wget -qO- https://get.docker.com/ | sh
Looking at the script, it basically adds docker to the sources list then does
apt-get install -y -q lxc-docker
which installs the latest version.
I tried replacing lxc-docker in the script with lxc-docker=1.6.2 but it says it can’t find that version. On inspecting the available versions in the archive using
apt-cache madison lxc-docker
it only returns the following:
lxc-docker | 1.7.0 | https://get.docker.com/ubuntu/ docker/main amd64 Packages
Is there a reliable method I can use to install an older version?