Rancher is an open-source platform that enables you to run containers in production environments. As you probably may know already Rancher makes it simple to deploy and run Kubernetes everywhere.
To be able to start this installation you will need an Ubuntu System, access to a CLI for example with Putty. Also, you must be able to access an account with sudo or root privileges, and then finally but not less important you will need multiple nodes that you can use for your cluster.
I imagine that your system is already updated, if it is not like that, please proceed to update your system first.
(If you have any older version of Docker uninstall that version with the command sudo apt-get remove docker docker-engine docker.io)
sudo apt install docker.io
Now we verify that the installation was successful:
Start the Docker service:
sudo systemctl start docker
Set it to run at startup:
sudo systemctl enable docker
Check the status of Docker:
sudo systemctl status docker
It should indicate as below active (running):
After setting up Docker, you will use the platform to create a container where you can run the Rancher server.
Creating a new Rancher server container is easy as just typing this command:
sudo docker run -d --restart=unless-stopped -p 8080:8080 rancher/server:stable
Now to access Rancher user interface/web interface, open a web browser and type this:
For example our address is: https://10.1.xx.24:8080/env/1a5/apps/stacks