Get docker release version - string required for installation Get docker release version - string required for installation docker docker

Get docker release version - string required for installation


You can use apt-cache madison docker-ce command.The version string is in the second column.

Source: https://docs.docker.com/install/linux/docker-ce/ubuntu/#install-docker-ce-1


As specified in INSTALL DOCKER CE, you can install a specific version using:

sudo apt-get install docker-ce=<VERSION>

You can check the list of available versions via:

apt-cache madison docker-ce

The second column of the output specifies the version that you can substitute in the apt-get install command.