How to install Rancher Desktop on Linux and macOS


Jack Wallen reveals you how to install the Docker Desktop option, Rancher Desktop, on both Linux and A woman using and typing on Apple MacBook Pro laptop computer on the table in office.macOS. Image: Farknot Architect/Adobe Stock Docker Desktop is one of the more popular GUI tools for developing and managing Docker containers. Nevertheless, it’s not alone worldwide of Docker GUIs. Although numerous Docker GUIs have actually reoccured, some have stood the test of time. One such GUI tool is Rancher Desktop.

SEE: Hiring set: Back-end Designer (TechRepublic Premium)

With Rancher Desktop you can enjoy features such as:

  • Kubernetes integration
  • Image management
  • Image vulnerability scanning
  • Image structure
  • Troubleshooting
  • And more

Something I appreciate about Rancher Desktop is that it does an impressive job of dealing with tasks like Kubernetes integration automatically. All you need to do is pick the runtime environment and Rancher Desktop will do the rest.

Must-read Apple protection

You should also know that Rancher Desktop is not a manager for Docker containers but, rather, a Kubernetes container manager. Rancher Desktop uses either containerd or Moby for its runtime engine, so there’s no requirement to have actually Docker set up. Nevertheless, I have found that a Docker installation will not hinder the installation or usage of Rancher Desktop.

I want to show you how to install Rancher Desktop on both Linux and macOS.

What you’ll need to install Rancher Desktop

To begin with, you’ll require to get Rancher Desktop installed is a running circumstances of Linux and macOS. I’ll focus mostly on the Linux side of things, utilizing Pop! _ OS.

On Linux, you’ll likewise require:

  • A circulation that can supports.deb or.rpm packages, or AppImages
  • An x86_64 processor with either AMD-V or VT-x
  • Read-write access on/ dev/kvm, which can be checked with the command [- r/ dev/kvm] & & [- w/ dev/kvm]|| echo ‘insufficient privileges’

On macOS you’ll need:

  • macOS Catalina 10.15 or higher
  • Apple Silicon (M1) or Intel CPU with VT-x

For both circumstances, you’ll require a minimum of 8 GB of RAM and 4 CPUs.

That’s it: Let’s get to work.

How to install Rancher Desktop on Linux

There is one extra step you should take on Linux, which is the setup of pass. First, set up pass with:

sudo apt-get set up pass -y

When pass is installed, produce a gpg secret with:

gpg– generate-key

Answer the questions and give the new key a strong/unique password. You need to see a string of characters in the output that looks something like this:


When the secret is developed, initialize pass with your secret utilizing the command:

pass init KEY

Where KEY is the key from the output above.

Next, we can set up Rancher Desktop. To do that, first add the Rancher GPG secret with:

curl -s|gpg– dearmor|sudo dd status=none of=/ usr/share/keyrings/ isv-rancher-stable-archive-keyring. gpg

Next, include the repository with:

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

Finally, upgrade apt and install Rancher Desktop with:

sudo apt upgrade
sudo apt set up rancher-desktop

You must now see the Rancher Desktop launcher in your desktop menu. Open the app and you’ll be greeted by the preliminary setup tool (Figure A).

Figure A

The Rancher Desktop first-run setup tool. The Rancher Desktop first-run setup tool. Make certain to pick the most recent version of Kubernetes, choose containerd as the runtime, and set the course configuration to Automatic. Once you have actually done that, click Accept and you should then see the Rancher Desktop main window with a progress bar at the bottom left showing the download status of Kubernetes (Figure B).

Figure B

The Rancher Desktop main window is busy setting up Kubernetes. The Rancher Desktop main window is busy establishing Kubernetes. Once Kubernetes is downloaded

and set up, you’re prepared to utilize Rancher

Desktop. How to set up Rancher Desktop on macOS The macOS setup is significantly simpler than it is on Linux. All you need to do is download the correct Rancher Desktop binary installer (for x86_64, mac.aarch64, or aarch64) and double-click the file once it’s downloaded. You need to see the very same GUI windows as you did for the Linux installation.

The only distinction on macOS is that you’ll have to give admin access to the network configuration (Figure C).

Figure C

Giving Rancher Desktop admin access. Offering Rancher Desktop admin gain access to. Click okay and, when prompted, type your user password. Rancher Desktop will then start downloading the required bits for Kubernetes and you’re prepared to go.

Which’s all there is to setting up Rancher Desktop on both Linux and macOS. Next time we visit this convenient GUI, we’ll find how the tool is utilized.

Delighted container management!

Sign up for TechRepublic’s How To Make Tech Work on YouTube for all the most recent tech recommendations for company pros from Jack Wallen.


Leave a Reply

Your email address will not be published. Required fields are marked *