I’m following the step #3 in this doc: https://docs.docker.com/install/linux/docker-ce/ubuntu/
I looked up valid version strings for docker-ce and docker-ce-cli
I gave this command:
root@kube-node2:/home/osboxes# sudo apt-get install docker-ce=18.06.2~ce~3-0~ubuntu docker-ce-cli=5:18.09.2~3-0~ubuntu-bionic containerd.io
Reading package lists… Done
Building dependency tree
Reading state information… Done
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.06.2~ce~3-0~ubuntu is to be installed E: Unable to correct problems, you have held broken packages.
How can I find the docker-ce-ci version that’s compatible with my chosen version of docker-ce?