How to Download and Install Docker for a Specific Version (1.11)

I am trying to install Elastic Cloud Enterprise on Ubuntu Linux 16.04 xenial. It requires Docker version 1.11 to run.

I followed the instructions from the official documentation to set up a Docker registry and it went smoothly. However, there were only versions 17.x and 18.x from the registry.

I tried “sudo apt-get install docker-ce=1.11.0.ce” and got the message that the version is not found.

How can i install version 1.11?