How to install specific version of Docker(like 1.3.2
)?
I am unable to find any documentation in docker official docs. Referring this link for Ubuntu.
<
I got version 1.6.2 years old from source on Ubuntu 16.04. This might not translate to other Docker versions:
git clone https://github.com/moby/moby docker
cd docker
git tag -l
-- find your tag of interest in this list (e.g. v1.6.2)
git checkout
sudo make build
Depending on how old your version is, you might see some errors in this step. If you see sample docker images failing to get pulled in, feel free to comment the associated lines out in the Dockerfile
. You might see a lvm2
source related failure. Modify the non-existent link to the source specified here. Specifically, in my case, I had to change make Dockerfile
refer to the lvm2
source code at git at git://sourceware.org/git/lvm2.git
.
sudo make binary