By default the installation and upgrade documentation references the installation of, or upgrade to, the most recently released latest or stable tagged version of Rancher. This article details how to install a specific version, both in a single node and high availability installation.
For details on the difference between the latest and stable releases please see the documentation on 'Choosing a Version'.
N.B. We strongly recommend you only run product releases tagged “Stable” in your production and any other business-critical environments. Any product release with the “Latest” tag should only be used for testing the latest releases."
Single Node Install
docker run -d --restart=unless-stopped \ -p 80:80 -p 443:443 \ rancher/rancher:v2.2.2
High Availability (HA) Install
helm install rancher-stable/rancher \ --name rancher \ --namespace cattle-system \ --set hostname=rancher.my.org \ --version 2.2.2