How to install specific version of Docker(like 1.3.2)?
1.3.2
I am unable to find any documentation in docker official docs. Referring this link for Ubuntu.
Another option is to replace install -y lxc-docker in the script with install -y lxc-docker-.
install -y lxc-docker
install -y lxc-docker-
For example, this will install docker 1.6.2:
1.6.2
RUN wget -qO- https://get.docker.com/ubuntu/ | sed -r 's/^apt-get install -y lxc-docker$/apt-get install -y lxc-docker-1.6.2/g' | sh