Docker Community Forums

Share and learn in the Docker community.

Old docker versions missing on repository


#1

Hello,

I’m installing a node in an existing kubernetes cluster that all machines share the same docker engine/client version (18.03.1).

I intended to use the same version on this new node, but the packages are not available in the repository anymore. I can find docker-ce with the version I want, but not docker-ce-cli

Does anyone know if there is an “archive” repository (or maybe a mirror) that I could use?

Thanks

$ sudo apt-cache madison docker-ce
 docker-ce | 5:18.09.5~3-0~ubuntu-bionic | https://download.docker.com/linux/ubuntu bionic/stable amd64 Packages
 docker-ce | 5:18.09.4~3-0~ubuntu-bionic | https://download.docker.com/linux/ubuntu bionic/stable amd64 Packages
 docker-ce | 5:18.09.3~3-0~ubuntu-bionic | https://download.docker.com/linux/ubuntu bionic/stable amd64 Packages
 docker-ce | 5:18.09.2~3-0~ubuntu-bionic | https://download.docker.com/linux/ubuntu bionic/stable amd64 Packages
 docker-ce | 5:18.09.1~3-0~ubuntu-bionic | https://download.docker.com/linux/ubuntu bionic/stable amd64 Packages
 docker-ce | 5:18.09.0~3-0~ubuntu-bionic | https://download.docker.com/linux/ubuntu bionic/stable amd64 Packages
 docker-ce | 18.06.3~ce~3-0~ubuntu | https://download.docker.com/linux/ubuntu bionic/stable amd64 Packages
 docker-ce | 18.06.2~ce~3-0~ubuntu | https://download.docker.com/linux/ubuntu bionic/stable amd64 Packages
 docker-ce | 18.06.1~ce~3-0~ubuntu | https://download.docker.com/linux/ubuntu bionic/stable amd64 Packages
 docker-ce | 18.06.0~ce~3-0~ubuntu | https://download.docker.com/linux/ubuntu bionic/stable amd64 Packages
 docker-ce | 18.03.1~ce~3-0~ubuntu | https://download.docker.com/linux/ubuntu bionic/stable amd64 Packages

$ sudo apt-cache madison docker-ce-cli
docker-ce-cli | 5:18.09.5~3-0~ubuntu-bionic | https://download.docker.com/linux/ubuntu bionic/stable amd64 Packages
docker-ce-cli | 5:18.09.4~3-0~ubuntu-bionic | https://download.docker.com/linux/ubuntu bionic/stable amd64 Packages
docker-ce-cli | 5:18.09.3~3-0~ubuntu-bionic | https://download.docker.com/linux/ubuntu bionic/stable amd64 Packages
docker-ce-cli | 5:18.09.2~3-0~ubuntu-bionic | https://download.docker.com/linux/ubuntu bionic/stable amd64 Packages
docker-ce-cli | 5:18.09.1~3-0~ubuntu-bionic | https://download.docker.com/linux/ubuntu bionic/stable amd64 Packages
docker-ce-cli | 5:18.09.0~3-0~ubuntu-bionic | https://download.docker.com/linux/ubuntu bionic/stable amd64 Package

$ sudo apt-get install "docker-ce=18.03*" "docker-ce-cli=18.03*" containerd.io
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Version '18.03*' for 'docker-ce-cli' was not found

$ sudo apt-get install "docker-ce=18.03*" "docker-ce-cli" containerd.io
Reading package lists... Done
Building dependency tree
Reading state information... Done
Selected version '18.03.1~ce~3-0~ubuntu' (Docker CE:bionic [amd64]) for 'docker-ce'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 docker-ce-cli : Breaks: docker-ce (< 5:0) but 18.03.1~ce~3-0~ubuntu is to be installed
E: Unable to correct problems, you have held broken packages.