I want to run a special version of docker.
I tried to
upgrade Docker and Docker Compose by following commands:
# upgrade docker sudo apt-get update sudo apt-get upgrade docker-ce # upgrade docker compose sudo rm /usr/local/bin/docker-compose VERSION=$(curl --silent https://api.github.com/repos/docker/compose/releases/latest | grep -Po '"tag_name": "\K.*\d') DESTINATION=/usr/local/bin/docker-compose sudo chmod 755 $DESTINATION
% docker --version Docker version 20.10.2, build 2291f61 % docker-compose --version Docker Compose version v2.7.0
how can I upgrade the docker version to a
special version (e.g. 20.10.17)?
20.10.17currently is not a "special" version other than it being the latest version. Is that what you want?