These instructions are only tested on installations that use the Docker apt repository.
-
Remove the existing installation
sudo apt-get remove docker-engine
-
List the available versions
sudo apt-cache showpkg docker-engine ... Provides: 1.11.1-0~jessie - 1.11.0-0~jessie - 1.10.3-0~jessie - 1.10.2-0~jessie - 1.10.1-0~jessie - 1.10.0-0~jessie - 1.9.1-0~jessie - 1.9.0-0~jessie - 1.8.3-0~jessie - 1.8.2-0~jessie - 1.8.1-0~jessie - 1.8.0-0~jessie - 1.7.1-0~jessie - 1.7.0-0~jessie - 1.6.2-0~jessie - 1.6.1-0~jessie - 1.6.0-0~jessie - 1.5.0-0~jessie -
-
Install an available version, in this case 1.9.1
sudo apt-get install docker-engine=1.9.1-0~jessie
-
Verify the install
docker version Client: Version: 1.9.1 API version: 1.21 Go version: go1.4.2 Git commit: a34a1d5 Built: Fri Nov 20 12:59:02 UTC 2015 OS/Arch: linux/amd64 Server: Version: 1.9.1 API version: 1.21 Go version: go1.4.2 Git commit: a34a1d5 Built: Fri Nov 20 12:59:02 UTC 2015 OS/Arch: linux/amd64