Rancher is not an application that is installed on top of an operating system like a web browser. Rancher is installed on top of kubernetes. The docker method described above will run k3s kubernetes in a docker container and install Rancher on top of that. You can run Rancher anywhere you can run kubernetes.