How to Install Rancher Desktop on Linux

In this article we will try to teach you how to install Rancher Desktop on Linux. Rancher Desktop, now in version 1.3, is a desktop-based container development environment for Windows, macOS, and Linux. It is a Kubernetes-based solution that runs a lightweight K3s cluster in a virtual machine. Rancher also includes the containerd and dockerd container runtimes. On macOS and Linux systems, the VM is hosted by QEMU; Windows support is provided by Windows Subsystem for Linux v2.

Rancher Desktop wraps established container toolchain components to create a battery-powered development experience. Its Kubernetes cluster and container runtime are packaged into its virtual machine. You can use the nerdctl CLI included with Rancher and Kubernetes-compatible tools like kubectl and Helm to interact with these components and launch new containers.

Linux is the best known and most used open source operating system. As an operating system, Linux is software that resides underneath all other software on a computer, receives requests from those programs, and forwards those requests to the computer’s hardware. Below we have mention the steps Install Rancher Desktop on Linux.

How to Install Rancher Desktop on Linux

Update the System

Step 1: Run the following command to refresh Ubuntu / Debian / Linux Mint system.

sudo apt update && sudo apt upgrade -y[ -f /var/run/reboot-required ] && sudo reboot -f

Step 2: Once the operating system has been updated, reboot your system.

Add the Rancher Desktop repository

Step 1: Import repository GPG key:

curl -s https://download.opensuse.org/repositories/isv:/Rancher:/stable/deb/Release.key | gpg –dearmor | sudo dd status=none of=/usr/share/keyrings/isv-rancher-stable-archive-keyring.gpg

Step 2: We will add Rancher Desktop repo to Ubuntu / Debian / Linux Mint system as follows:

echo ‘deb [signed-by=/usr/share/keyrings/isv-rancher-stable-archive-keyring.gpg] https://download.opensuse.org/repositories/isv:/Rancher:/stable/deb/ ./’ | sudo dd status=none of=/etc/apt/sources.list.d/isv-rancher-stable.list

Step 3: Run system update:

sudo apt update

Install Rancher Desktop

Step 1: By executing the following command you will install Rancher Desktop on Ubuntu / Debian / Linux Mint.

sudo apt install rancher-desktop

Step 2: Accept the installation prompt by type y and enter

Launch and Use Rancher Desktop

Step 1: To start Rancher Desktop, go to App Manager and type in Rancher Desktop.

Step 2: To open the application, click the icon. This takes you to the welcome screen, where you may select the Kubernetes version to use.

Step 3: A container runtime extracts and unpacks images from the registry. Namespaces for containers and the use of nerdctl are provided by Containerd.

Deploy Nginx Test Application

In this demo we will set up the NGINX ingress controller. Rancher Desktop is powered by K3s, making Traefik the default ingress controller for your Kubernetes cluster. However, in certain circumstances NGINX may be required or desired.

Step 1: To disable Traefik, uncheck Enable Traefik on the Kubernetes Settings page. For the modification to take effect, you may need to exit and restart Rancher Desktop.

Step 2: Now, run the following command to deploy the NGINX ingress controller using kubectl command:

kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/main/deploy/static/provider/baremetal/deploy.yaml

Step 3: Wait for the ingress pods to be operational.

Step 4: Make a test deployment and service.

kubectl create deployment mydemo –image=nginx –port=80kubectl expose deployment mydemo

Step 5: Make a resource for ingress. A host that corresponds to localhost is used in the following command.

kubectl create ingress mydemo-localhost –class=nginx –rule=”mydemo/*=mydemo:80″

Step 6: To the ingress controller, forward a local port.

kubectl port-forward –namespace=ingress-nginx service/ingress-nginx-controller 8080:80

Final Words

We hope our article on how to Install Rancher Desktop on Ubuntu/Debian/Linux Mint will help you and resolve all your problems. A Rancher Desktop installation is ideal for developers who want to build containerized software without manually maintaining all components. You can build container images, deploy them to a Kubernetes cluster, and test workloads locally before going into production. If you want to know how to run Rancher Desktop on Linux distros then follow the steps mentioned above.

I hope you understand this article, How to Install Rancher Desktop on Linux.

Editorial Staff
Editorial Staffhttps://www.bollyinside.com
The Bollyinside editorial staff is made up of tech experts with more than 10 years of experience Led by Sumit Chauhan. We started in 2014 and now Bollyinside is a leading tech resource, offering everything from product reviews and tech guides to marketing tips. Think of us as your go-to tech encyclopedia!

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Related Articles

Best Telemedicine Software: for your healthcare practice

Telemedicine software has transformed my healthcare visits. It's fantastic for patients and doctors since they can obtain aid quickly. I...
Read more
I love microlearning Platforms in today's fast-paced world. Short, focused teachings that engage me are key. Microlearning platforms are great...
Think of a notebook on your computer or tablet that can be changed to fit whatever you want to write...
As of late, Homeschool Apps has gained a lot of popularity, which means that an increasing number of...
From what I've seen, HelpDesk software is essential for modern businesses to run easily. It's especially useful for improving customer...
For all of our important pictures, stories, and drawings, Google Drive is like a big toy box. But sometimes the...